aiogram/docs/api/methods/index.rst
Alex Root Junior 6795b3de05
Added support for Bot API 7.0 (#1387)
* Added support for Bot API 7.0

* Fixed available tests

* Fixed text decorations

* Bot API 7.0 tests for ForwardMessages

* Bot API 7.0 tests for CopyMessages

* Bot API 7.0 tests for DeleteMessages

* Bot API 7.0 tests for GetUserChatBoosts

* Bot API 7.0 tests for SetMessageReaction

* Fixed custom_emoji attribute name

* Fixed tests

* Test parsing CallbackQuery message (inaccessible and accessible)

* Added changes description

* Bot API 7.0 tests for dispatcher handle update message_reaction

* Bot API 7.0 tests for dispatcher handle update message_reaction_count

* Bot API 7.0 tests for dispatcher handle update chat_boost

* Bot API 7.0 tests for dispatcher handle update removed_chat_boost

* fix tests: update ReactionTypeCustomEmoji custom_emoji -> custom_emoji_id

* micro fix Markdown V2 blockquote

* add tests for Markdown tools

* fix markdown test apply single entity

* add tests coverage for Message.react

* check that all messages and content types are covered for Message.content_type

* sort imports in tests (run `make reformat lint`)

* update Giveaway objects Unix time field to DateTime type

* Update Message.content_type property

* upgrade tests for message content_types and sent_copy

* Update Giveaway type generation config

* Update GiveawayWinners and PassportFile types generation configs

---------

Co-authored-by: Suren Khorenyan <surenkhorenyan@gmail.com>
2023-12-31 01:40:44 +02:00

181 lines
3.3 KiB
ReStructuredText

#######
Methods
#######
Here is list of all available API methods:
Stickers
========
.. toctree::
:maxdepth: 1
add_sticker_to_set
create_new_sticker_set
delete_sticker_from_set
delete_sticker_set
get_custom_emoji_stickers
get_sticker_set
send_sticker
set_custom_emoji_sticker_set_thumbnail
set_sticker_emoji_list
set_sticker_keywords
set_sticker_mask_position
set_sticker_position_in_set
set_sticker_set_thumbnail
set_sticker_set_title
upload_sticker_file
Available methods
=================
.. toctree::
:maxdepth: 1
answer_callback_query
approve_chat_join_request
ban_chat_member
ban_chat_sender_chat
close
close_forum_topic
close_general_forum_topic
copy_message
copy_messages
create_chat_invite_link
create_forum_topic
decline_chat_join_request
delete_chat_photo
delete_chat_sticker_set
delete_forum_topic
delete_my_commands
edit_chat_invite_link
edit_forum_topic
edit_general_forum_topic
export_chat_invite_link
forward_message
forward_messages
get_chat
get_chat_administrators
get_chat_member
get_chat_member_count
get_chat_menu_button
get_file
get_forum_topic_icon_stickers
get_me
get_my_commands
get_my_default_administrator_rights
get_my_description
get_my_name
get_my_short_description
get_user_chat_boosts
get_user_profile_photos
hide_general_forum_topic
leave_chat
log_out
pin_chat_message
promote_chat_member
reopen_forum_topic
reopen_general_forum_topic
restrict_chat_member
revoke_chat_invite_link
send_animation
send_audio
send_chat_action
send_contact
send_dice
send_document
send_location
send_media_group
send_message
send_photo
send_poll
send_venue
send_video
send_video_note
send_voice
set_chat_administrator_custom_title
set_chat_description
set_chat_menu_button
set_chat_permissions
set_chat_photo
set_chat_sticker_set
set_chat_title
set_message_reaction
set_my_commands
set_my_default_administrator_rights
set_my_description
set_my_name
set_my_short_description
unban_chat_member
unban_chat_sender_chat
unhide_general_forum_topic
unpin_all_chat_messages
unpin_all_forum_topic_messages
unpin_all_general_forum_topic_messages
unpin_chat_message
Updating messages
=================
.. toctree::
:maxdepth: 1
delete_message
delete_messages
edit_message_caption
edit_message_live_location
edit_message_media
edit_message_reply_markup
edit_message_text
stop_message_live_location
stop_poll
Inline mode
===========
.. toctree::
:maxdepth: 1
answer_inline_query
answer_web_app_query
Games
=====
.. toctree::
:maxdepth: 1
get_game_high_scores
send_game
set_game_score
Payments
========
.. toctree::
:maxdepth: 1
answer_pre_checkout_query
answer_shipping_query
create_invoice_link
send_invoice
Getting updates
===============
.. toctree::
:maxdepth: 1
delete_webhook
get_updates
get_webhook_info
set_webhook
Telegram Passport
=================
.. toctree::
:maxdepth: 1
set_passport_data_errors