Skip to content

Bot api 3.4 #675

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

Merged
merged 3 commits into from
Oct 12, 2017
Merged

Bot api 3.4 #675

merged 3 commits into from
Oct 12, 2017

Conversation

noplanman
Copy link
Member

This implements latest additions for Bot API 3.4.

Closes #674

@@ -654,6 +664,8 @@ private static function limitTelegramRequests($action, array $data = [])
'editMessageReplyMarkup',
'setChatTitle',
'setChatDescription',
'setChatStickerSet',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jacklul What exactly are the criteria for having methods in the limiter?
I see that some methods are listed, some not.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API docs stated that only methods sending something or editing something in the chats are affected by limits.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, so these Sticker Set methods should be limited then 👍

@noplanman noplanman merged commit b76c5bb into php-telegram-bot:develop Oct 12, 2017
@noplanman noplanman deleted the bot_api_3.4 branch October 12, 2017 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants