Remove bad comments.

This commit is contained in:
Alex Root Junior 2017-06-02 03:03:26 +03:00
parent 07c7c1f32a
commit 5019a4f00b
3 changed files with 0 additions and 34 deletions

View file

@ -23,20 +23,6 @@ class Update(Deserializable):
@classmethod
def de_json(cls, raw_data):
"""
update_id Integer The updates unique identifier. Update identifiers start from a certain positive number and increase sequentially. This ID becomes especially handy if youre using Webhooks, since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order.
message Message Optional. New incoming message of any kind text, photo, sticker, etc.
edited_message Message Optional. New version of a message that is known to the bot and was edited
channel_post Message Optional. New incoming channel post of any kind text, photo, sticker, etc.
edited_channel_post Message Optional. New version of a channel post that is known to the bot and was edited
inline_query InlineQuery Optional. New incoming inline query
chosen_inline_result ChosenInlineResult Optional. The result of an inline query that was chosen by a user and sent to their chat partner.
callback_query CallbackQuery Optional. New incoming callback query
shipping_query ShippingQuery Optional. New incoming shipping query. Only for invoices with flexible price
pre_checkout_query PreCheckoutQuery Optional. New incoming pre-checkout query. Contains full information about checkout
:param raw_data:
:return:
"""
raw_data = cls.check_json(raw_data)
update_id = raw_data.get('update_id')