You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Added
Added the method sendDicesend(SendDiceMethod) for sending a dice message, which will have a random value from 1 to 6.
(Yes, we're aware of the “proper” singular of die. But it's awkward, and we decided to help it change One dice at a time!)
Added the field dice to the MessageType object.
Added the method getMyCommands for getting the current list of the bot's commands.
Added the method setMyCommandsset(SetMyCommandMethod) for changing the list of the bot's commands
through the Bot API instead of @Botfather.
Added the ability to create animated sticker sets by specifying the
parameter tgsSticker instead of pngSticker in the class CreateNewStickerSetMethod.
Added the ability to add animated stickers to sets created by the bot by specifying
the parameter tgsSticker instead of pngSticker in the class AddStickerToSetMethod.
Added the field thumb to the StickerSetType object.
Added the ability to change thumbnails of sticker sets created by the bot
using the method setStickerSetThumbset(SetStickerSetThumbMethod).
Deprecated
AddStickerToSetMethod::create() - please use createStatic or createAnimated methods
CreateNewStickerSetMethod::create() - please use createStatic or createAnimated methods