Skip to content

Conversation

@tsnoam
Copy link
Member

@tsnoam tsnoam commented Nov 30, 2016

Closes #468

 - Changed behaviour: messages with high scores will be update with new
   high scores by default. (documentation fix)
 - Use (new) disable_edit_message in setGameScore to disable the above new
   behaviour.
 - The edit_message parameter from setGameScore is no longer in use. For
   backward compatibility, it will be taken into account for a while,
   unless disable_edit_message is passed explicitly.

refs #468
Telegram servers changed their behaviour - now they truncate a long
caption instead of returning an error.
``chat_data`` will be passed to the callback function. It will be a ``dict`` you
can use to keep any data related to the chat that the update was sent in.
For each update in the same chat, it will be the same ``dict``. Default is ``False``.
message_updates (Optional[bool]): Should "normal" message updates be handled? Default is
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if we could use a filter for this instead? Now that it is actually possible to use more than one filter. Or is it more clear/explicit and nice using this method?

Copy link
Member

Choose a reason for hiding this comment

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

I think this is okay, it's also the same way as we implemented edited messages

Copy link
Member

@jsmnbom jsmnbom left a comment

Choose a reason for hiding this comment

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

Overall looks good! ^^
The deprecation of ReplyKeyboardHide is a bit ugly, but it works (and I can't think of a better way :P)

@rahiel rahiel mentioned this pull request Dec 8, 2016
@jh0ker jh0ker merged commit acf1541 into master Dec 11, 2016
@rahiel rahiel deleted the botapi2.3 branch February 5, 2017 22:28
@github-actions github-actions bot locked and limited conversation to collaborators Aug 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

botapi 2.3

4 participants