-
Notifications
You must be signed in to change notification settings - Fork 37
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
Promisify helpers #245
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.