Add football & slot machine dice

This commit is contained in:
Matin 2020-11-04 18:37:42 +03:30
parent ae67814abb
commit d398cf19a6
3 changed files with 5 additions and 3 deletions

View file

@ -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]`

View file

@ -17,3 +17,5 @@ class DiceEmoji:
DICE = '🎲'
DART = '🎯'
BASKETBALL = '🏀'
SOCCER = '⚽️'
SLOT_MACHINE = '🎰'

View file

@ -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]`