mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Add football & slot machine dice
This commit is contained in:
parent
ae67814abb
commit
d398cf19a6
3 changed files with 5 additions and 3 deletions
|
|
@ -954,7 +954,7 @@ class Bot(BaseBot, DataMixin, ContextInstanceMixin):
|
|||
|
||||
:param chat_id: Unique identifier for the target chat or username of the target channel
|
||||
:type chat_id: :obj:`typing.Union[base.Integer, base.String]`
|
||||
:param emoji: Emoji on which the dice throw animation is based. Currently, must be one of “🎲” or “🎯”. Defauts to “🎲”
|
||||
:param emoji: Emoji on which the dice throw animation is based. Currently, must be one of “🎲”, “🎯”, "🏀", "⚽️" or "🎰". Defauts to “🎲”
|
||||
:type emoji: :obj:`typing.Union[base.String, None]`
|
||||
:param disable_notification: Sends the message silently. Users will receive a notification with no sound
|
||||
:type disable_notification: :obj:`typing.Union[base.Boolean, None]`
|
||||
|
|
|
|||
|
|
@ -17,3 +17,5 @@ class DiceEmoji:
|
|||
DICE = '🎲'
|
||||
DART = '🎯'
|
||||
BASKETBALL = '🏀'
|
||||
SOCCER = '⚽️'
|
||||
SLOT_MACHINE = '🎰'
|
||||
|
|
|
|||
|
|
@ -1043,7 +1043,7 @@ class Message(base.TelegramObject):
|
|||
|
||||
Source: https://core.telegram.org/bots/api#senddice
|
||||
|
||||
:param emoji: Emoji on which the dice throw animation is based. Currently, must be one of “🎲” or “🎯”. Defauts to “🎲”
|
||||
:param emoji: Emoji on which the dice throw animation is based. Currently, must be one of “🎲”, “🎯”, "🏀", "⚽️" or "🎰". Defauts to “🎲”
|
||||
:type emoji: :obj:`typing.Union[base.String, None]`
|
||||
:param disable_notification: Sends the message silently. Users will receive a notification with no sound.
|
||||
:type disable_notification: :obj:`typing.Union[base.Boolean, None]`
|
||||
|
|
@ -1829,7 +1829,7 @@ class Message(base.TelegramObject):
|
|||
|
||||
Source: https://core.telegram.org/bots/api#senddice
|
||||
|
||||
:param emoji: Emoji on which the dice throw animation is based. Currently, must be one of “🎲” or “🎯”. Defauts to “🎲”
|
||||
:param emoji: Emoji on which the dice throw animation is based. Currently, must be one of “🎲”, “🎯”, "🏀", "⚽️" or "🎰". Defauts to “🎲”
|
||||
:type emoji: :obj:`typing.Union[base.String, None]`
|
||||
:param disable_notification: Sends the message silently. Users will receive a notification with no sound.
|
||||
:type disable_notification: :obj:`typing.Union[base.Boolean, None]`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue