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

Bot API 4.7 #730

Merged
merged 1 commit into from Apr 11, 2020
Merged

Bot API 4.7 #730

merged 1 commit into from Apr 11, 2020

Conversation

jonnywilliamson
Copy link
Contributor

March 30, 2020

Added the method sendDice 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 Message object.
Added the method getMyCommands for getting the current list of the bot's commands.
Added the method setMyCommands 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 tgs_sticker instead of png_sticker in the method createNewStickerSet.
Added the ability to add animated stickers to sets created by the bot by specifying the parameter tgs_sticker instead of png_sticker in the method addStickerToSet.
Added the field thumb to the StickerSet object.
Added the ability to change thumbnails of sticker sets created by the bot using the method setStickerSetThumb.

Please note. Testing the stickerset thumbnails was not done. Don't have the time to be making stickers!

March 30, 2020

Added the method sendDice 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 Message object.
Added the method getMyCommands for getting the current list of the bot's commands.
Added the method setMyCommands 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 tgs_sticker instead of png_sticker in the method createNewStickerSet.
Added the ability to add animated stickers to sets created by the bot by specifying the parameter tgs_sticker instead of png_sticker in the method addStickerToSet.
Added the field thumb to the StickerSet object.
Added the ability to change thumbnails of sticker sets created by the bot using the method setStickerSetThumb.

Please note. Testing the stickerset thumbnails was not done. Don't have the time to be making stickers!
@irazasyed irazasyed merged commit 23fe2c8 into irazasyed:develop Apr 11, 2020
@irazasyed
Copy link
Owner

Thank you @jonnywilliamson :)

@jonnywilliamson
Copy link
Contributor Author

No problem!

Have found a very annoying issue with the singleton pattern in the command bus being used with laravel horizon.

Might like to chat with you about it over next while if you aren't busy?

Hope you're also keeping safe/well. 👌

@jonnywilliamson jonnywilliamson deleted the BOTAPI_4.7 branch April 11, 2020 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants