mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
parent
adfc89f125
commit
247ffbef69
150 changed files with 571 additions and 1112 deletions
|
|
@ -28,13 +28,13 @@ class Update(TelegramObject):
|
|||
"""
|
||||
|
||||
update_id: int
|
||||
"""The update's unique identifier. Update identifiers start from a certain positive number and increase sequentially. This ID becomes especially handy if you're using `Webhooks <https://core.telegram.org/bots/api#setwebhook>`_, since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order. If there are no new updates for at least a week, then identifier of the next update will be chosen randomly instead of sequentially."""
|
||||
"""The update's unique identifier. Update identifiers start from a certain positive number and increase sequentially. This ID becomes especially handy if you're using `webhooks <https://core.telegram.org/bots/api#setwebhook>`_, since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order. If there are no new updates for at least a week, then identifier of the next update will be chosen randomly instead of sequentially."""
|
||||
message: Optional[Message] = None
|
||||
"""*Optional*. New incoming message of any kind — text, photo, sticker, etc."""
|
||||
"""*Optional*. New incoming message of any kind - text, photo, sticker, etc."""
|
||||
edited_message: Optional[Message] = None
|
||||
"""*Optional*. New version of a message that is known to the bot and was edited"""
|
||||
channel_post: Optional[Message] = None
|
||||
"""*Optional*. New incoming channel post of any kind — text, photo, sticker, etc."""
|
||||
"""*Optional*. New incoming channel post of any kind - text, photo, sticker, etc."""
|
||||
edited_channel_post: Optional[Message] = None
|
||||
"""*Optional*. New version of a channel post that is known to the bot and was edited"""
|
||||
inline_query: Optional[InlineQuery] = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue