-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
⚙️ bot-apiaffected functionality: bot-apiaffected functionality: bot-api
Description
Pure API updates:
- Add class
Dice
- Add
Bot.send_dice
- Add
Message.dice
- Add
Message.reply_dice
- Add class
BotCommand
- Add
Bot.get_my_commands
- Add
Bot.set_my_commands
- Add
Bot.commands
property - Add parameter
tgs_sticker
toBot.create_new_sticker_set
- Add parameter
tgs_sticker
toBot.add_sticker_to_set
- Add
StickerSet.thumb
- Add
Bot.set_sticker_set_thumb
- Add warning about changed parameter order for
Bot.create_new_sticker_set
andBot.add_sticker_to_set
to release notes
My suggestions for according new functionality:
- Add
Filters.dice
to filter messages containing a dice - Allow
Filters.dice(1)
andFilters.dice([1, 5])
to filters for dices with specific values - Somehow allow to treat a dice message as text message with the corresponding emoji via
Filters.text
andMessage.effective_message
? -
Maybe add adescription
attribute toCommandHandler
and a methodDispatcher.set_bot_commands
that automatically sets the bot commands by retrieving them from the registered handlers?
rspadim
Metadata
Metadata
Assignees
Labels
⚙️ bot-apiaffected functionality: bot-apiaffected functionality: bot-api