Add some doc's

This commit is contained in:
Alex Root Junior 2017-06-06 15:02:27 +03:00
parent 595caaa458
commit 0b8a37b38a
37 changed files with 498 additions and 5 deletions

View file

@ -8,6 +8,13 @@ from .shipping_query import ShippingQuery
class Update(Deserializable):
"""
This object represents an incoming update.
At most one of the optional parameters can be present in any given update.
https://core.telegram.org/bots/api#update
"""
def __init__(self, update_id, message, edited_message, channel_post, edited_channel_post, inline_query,
chosen_inline_result, callback_query, shipping_query, pre_checkout_query):
self.update_id: int = update_id