Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promisify helpers #245

Merged
merged 23 commits into from
Mar 6, 2020
Merged

Promisify helpers #245

merged 23 commits into from
Mar 6, 2020

Conversation

eritbh
Copy link
Member

@eritbh eritbh commented Mar 2, 2020

Doesn't resolve all of #210 but there's a lot of work already here and I don't want to deal with too much at once (even though I already am). For the love of all that is holy do not let me merge this before it gets tested for a while.

Module-specific functions are out of scope for this PR and of #210 just because there's a ton of them and they'll probably be converted over time whenever we end up tackling the module syntax stuff in #198.

@eritbh eritbh marked this pull request as ready for review March 4, 2020 19:18
@creesch creesch merged commit 8b6c780 into master Mar 6, 2020
@creesch creesch deleted the promisify-helpers branch March 6, 2020 18:09
eritbh added a commit that referenced this pull request Mar 6, 2020
@eritbh eritbh added this to the v5.3 milestone Mar 10, 2020
eritbh added a commit that referenced this pull request Sep 5, 2024
* Promisify TBApi.getHead

* Promisify getRateLimit

* Promisify TBApi.postToWiki

* Promisify TBApi.readFromWiki

* Promisify TBApi.getBanState

* Update documentation for TBApi.friendUser

* Promisify TBApi.unfriendUser

* document correct name for ban state days_left

* Promisify TBApi.lock

* Promisify TBApi.unlock

* Better arg order + docs for TBApi.(un)stickyThread

* Remove single-use TBApi.getHead function

* Typedef for ratelimit information

* Promisify + document TBApi.postComment

* Promisify + document TBApi.postLink

* Promisify + document TBApi.sendMessage

* Replace obsolete function TBApi.sendPM

* Promisify + document TBApi.markMessageUnread

* Promisify + document TBApi.aboutUser

* Promisify + document TBApi.getLastActive

* Promisify + document TBApi.getRules

* Promisify + document TBApi.getReportReasons
eritbh added a commit that referenced this pull request Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants