Reformat code and docs

This commit is contained in:
Alex Root Junior 2020-01-11 22:59:14 +02:00
parent 690223f4e0
commit 3b2df194a9
95 changed files with 825 additions and 751 deletions

View file

@ -27,6 +27,6 @@ This object represents a game. Use BotFather to create and edit games, their sho
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#game)
- [aiogram.types.MessageEntity](../types/message_entity.md)
- [aiogram.types.Animation](../types/animation.md)
- [aiogram.types.MessageEntity](../types/message_entity.md)
- [aiogram.types.PhotoSize](../types/photo_size.md)

View file

@ -29,5 +29,5 @@ This object represents one button of an inline keyboard. You must use exactly on
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinekeyboardbutton)
- [aiogram.types.LoginUrl](../types/login_url.md)
- [aiogram.types.CallbackGame](../types/callback_game.md)
- [aiogram.types.LoginUrl](../types/login_url.md)

View file

@ -32,5 +32,5 @@ Represents a link to an article or web page.
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultarticle)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -33,5 +33,5 @@ Note: This will only work in Telegram versions released after 9 April, 2016. Old
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultaudio)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -30,5 +30,5 @@ Note: This will only work in Telegram versions released after 9 April, 2016. Old
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultcachedaudio)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -32,5 +32,5 @@ Note: This will only work in Telegram versions released after 9 April, 2016. Old
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultcacheddocument)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -29,5 +29,5 @@ Represents a link to an animated GIF file stored on the Telegram servers. By def
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultcachedgif)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -29,5 +29,5 @@ Represents a link to a video animation (H.264/MPEG-4 AVC video without sound) st
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultcachedmpeg4gif)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -30,5 +30,5 @@ Represents a link to a photo stored on the Telegram servers. By default, this ph
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultcachedphoto)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -28,5 +28,5 @@ Note: This will only work in Telegram versions released after 9 April, 2016 for
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultcachedsticker)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -30,5 +30,5 @@ Represents a link to a video file stored on the Telegram servers. By default, th
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultcachedvideo)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -31,5 +31,5 @@ Note: This will only work in Telegram versions released after 9 April, 2016. Old
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultcachedvoice)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -34,5 +34,5 @@ Note: This will only work in Telegram versions released after 9 April, 2016. Old
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultcontact)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -36,5 +36,5 @@ Note: This will only work in Telegram versions released after 9 April, 2016. Old
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultdocument)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -33,5 +33,5 @@ Represents a link to an animated GIF file. By default, this animated GIF file wi
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultgif)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -34,5 +34,5 @@ Note: This will only work in Telegram versions released after 9 April, 2016. Old
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultlocation)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -33,5 +33,5 @@ Represents a link to a video animation (H.264/MPEG-4 AVC video without sound). B
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultmpeg4gif)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -33,5 +33,5 @@ Represents a link to a photo. By default, this photo will be sent by the user wi
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultphoto)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -36,5 +36,5 @@ Note: This will only work in Telegram versions released after 9 April, 2016. Old
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultvenue)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -37,5 +37,5 @@ If an InlineQueryResultVideo message contains an embedded video (e.g., YouTube),
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultvideo)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -32,5 +32,5 @@ Note: This will only work in Telegram versions released after 9 April, 2016. Old
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inlinequeryresultvoice)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.InputMessageContent](../types/input_message_content.md)

View file

@ -14,5 +14,6 @@ This object represents the contents of a file to be uploaded. Must be posted usi
- `from aiogram.api.types.input_file import InputFile`
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#inputfile)
- [How to upload file?](../sending_files.md)

View file

@ -68,23 +68,23 @@ This object represents a message.
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#message)
- [aiogram.types.Poll](../types/poll.md)
- [aiogram.types.PassportData](../types/passport_data.md)
- [aiogram.types.Video](../types/video.md)
- [aiogram.types.MessageEntity](../types/message_entity.md)
- [aiogram.types.PhotoSize](../types/photo_size.md)
- [aiogram.types.Animation](../types/animation.md)
- [aiogram.types.Audio](../types/audio.md)
- [aiogram.types.Chat](../types/chat.md)
- [aiogram.types.Contact](../types/contact.md)
- [aiogram.types.Document](../types/document.md)
- [aiogram.types.Animation](../types/animation.md)
- [aiogram.types.SuccessfulPayment](../types/successful_payment.md)
- [aiogram.types.Chat](../types/chat.md)
- [aiogram.types.Audio](../types/audio.md)
- [aiogram.types.Game](../types/game.md)
- [aiogram.types.Voice](../types/voice.md)
- [aiogram.types.VideoNote](../types/video_note.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.Invoice](../types/invoice.md)
- [aiogram.types.Location](../types/location.md)
- [aiogram.types.MessageEntity](../types/message_entity.md)
- [aiogram.types.PassportData](../types/passport_data.md)
- [aiogram.types.PhotoSize](../types/photo_size.md)
- [aiogram.types.Poll](../types/poll.md)
- [aiogram.types.Sticker](../types/sticker.md)
- [aiogram.types.InlineKeyboardMarkup](../types/inline_keyboard_markup.md)
- [aiogram.types.SuccessfulPayment](../types/successful_payment.md)
- [aiogram.types.User](../types/user.md)
- [aiogram.types.Venue](../types/venue.md)
- [aiogram.types.Video](../types/video.md)
- [aiogram.types.VideoNote](../types/video_note.md)
- [aiogram.types.Voice](../types/voice.md)

View file

@ -23,5 +23,5 @@ Contains information about Telegram Passport data shared with the bot by the use
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#passportdata)
- [aiogram.types.EncryptedPassportElement](../types/encrypted_passport_element.md)
- [aiogram.types.EncryptedCredentials](../types/encrypted_credentials.md)
- [aiogram.types.EncryptedPassportElement](../types/encrypted_passport_element.md)

View file

@ -34,10 +34,10 @@ At most one of the optional parameters can be present in any given update.
## Related pages:
- [Official documentation](https://core.telegram.org/bots/api#update)
- [aiogram.types.Poll](../types/poll.md)
- [aiogram.types.CallbackQuery](../types/callback_query.md)
- [aiogram.types.InlineQuery](../types/inline_query.md)
- [aiogram.types.ChosenInlineResult](../types/chosen_inline_result.md)
- [aiogram.types.InlineQuery](../types/inline_query.md)
- [aiogram.types.Message](../types/message.md)
- [aiogram.types.ShippingQuery](../types/shipping_query.md)
- [aiogram.types.Poll](../types/poll.md)
- [aiogram.types.PreCheckoutQuery](../types/pre_checkout_query.md)
- [aiogram.types.ShippingQuery](../types/shipping_query.md)