From 1cac96356214efb68109c595b274d05ed2c30c38 Mon Sep 17 00:00:00 2001 From: jrootjunior Date: Wed, 11 Dec 2019 16:52:21 +0200 Subject: [PATCH] Replace types ty methods in docs/api/methods --- docs/api/methods/add_sticker_to_set.md | 6 +++--- docs/api/methods/answer_callback_query.md | 6 +++--- docs/api/methods/answer_inline_query.md | 6 +++--- docs/api/methods/answer_pre_checkout_query.md | 6 +++--- docs/api/methods/answer_shipping_query.md | 6 +++--- docs/api/methods/create_new_sticker_set.md | 6 +++--- docs/api/methods/delete_chat_photo.md | 6 +++--- docs/api/methods/delete_chat_sticker_set.md | 6 +++--- docs/api/methods/delete_message.md | 6 +++--- docs/api/methods/delete_sticker_from_set.md | 6 +++--- docs/api/methods/delete_webhook.md | 6 +++--- docs/api/methods/edit_message_caption.md | 6 +++--- docs/api/methods/edit_message_live_location.md | 6 +++--- docs/api/methods/edit_message_media.md | 6 +++--- docs/api/methods/edit_message_reply_markup.md | 6 +++--- docs/api/methods/edit_message_text.md | 6 +++--- docs/api/methods/export_chat_invite_link.md | 6 +++--- docs/api/methods/forward_message.md | 6 +++--- docs/api/methods/get_chat.md | 6 +++--- docs/api/methods/get_chat_administrators.md | 6 +++--- docs/api/methods/get_chat_member.md | 6 +++--- docs/api/methods/get_chat_members_count.md | 6 +++--- docs/api/methods/get_file.md | 6 +++--- docs/api/methods/get_game_high_scores.md | 6 +++--- docs/api/methods/get_me.md | 6 +++--- docs/api/methods/get_sticker_set.md | 6 +++--- docs/api/methods/get_updates.md | 6 +++--- docs/api/methods/get_user_profile_photos.md | 6 +++--- docs/api/methods/get_webhook_info.md | 6 +++--- docs/api/methods/kick_chat_member.md | 6 +++--- docs/api/methods/leave_chat.md | 6 +++--- docs/api/methods/pin_chat_message.md | 6 +++--- docs/api/methods/promote_chat_member.md | 6 +++--- docs/api/methods/restrict_chat_member.md | 6 +++--- docs/api/methods/send_animation.md | 6 +++--- docs/api/methods/send_audio.md | 6 +++--- docs/api/methods/send_chat_action.md | 6 +++--- docs/api/methods/send_contact.md | 6 +++--- docs/api/methods/send_document.md | 6 +++--- docs/api/methods/send_game.md | 6 +++--- docs/api/methods/send_invoice.md | 6 +++--- docs/api/methods/send_location.md | 6 +++--- docs/api/methods/send_media_group.md | 6 +++--- docs/api/methods/send_message.md | 6 +++--- docs/api/methods/send_photo.md | 6 +++--- docs/api/methods/send_poll.md | 6 +++--- docs/api/methods/send_sticker.md | 6 +++--- docs/api/methods/send_venue.md | 6 +++--- docs/api/methods/send_video.md | 6 +++--- docs/api/methods/send_video_note.md | 6 +++--- docs/api/methods/send_voice.md | 6 +++--- docs/api/methods/set_chat_description.md | 6 +++--- docs/api/methods/set_chat_permissions.md | 6 +++--- docs/api/methods/set_chat_photo.md | 6 +++--- docs/api/methods/set_chat_sticker_set.md | 6 +++--- docs/api/methods/set_chat_title.md | 6 +++--- docs/api/methods/set_game_score.md | 6 +++--- docs/api/methods/set_passport_data_errors.md | 6 +++--- docs/api/methods/set_sticker_position_in_set.md | 6 +++--- docs/api/methods/set_webhook.md | 6 +++--- docs/api/methods/stop_message_live_location.md | 6 +++--- docs/api/methods/stop_poll.md | 6 +++--- docs/api/methods/unban_chat_member.md | 6 +++--- docs/api/methods/unpin_chat_message.md | 6 +++--- docs/api/methods/upload_sticker_file.md | 6 +++--- 65 files changed, 195 insertions(+), 195 deletions(-) diff --git a/docs/api/methods/add_sticker_to_set.md b/docs/api/methods/add_sticker_to_set.md index f5cec973..f7cdb803 100644 --- a/docs/api/methods/add_sticker_to_set.md +++ b/docs/api/methods/add_sticker_to_set.md @@ -37,9 +37,9 @@ result: bool = await bot.add_sticker_to_set(...) Imports: -- `from aiogram.types import AddStickerToSet` -- `from aiogram.api.types import AddStickerToSet` -- `from aiogram.api.types.add_sticker_to_set import AddStickerToSet` +- `from aiogram.methods import AddStickerToSet` +- `from aiogram.api.methods import AddStickerToSet` +- `from aiogram.api.methods.add_sticker_to_set import AddStickerToSet` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/answer_callback_query.md b/docs/api/methods/answer_callback_query.md index babb4ec2..b9c49ef7 100644 --- a/docs/api/methods/answer_callback_query.md +++ b/docs/api/methods/answer_callback_query.md @@ -39,9 +39,9 @@ result: bool = await bot.answer_callback_query(...) Imports: -- `from aiogram.types import AnswerCallbackQuery` -- `from aiogram.api.types import AnswerCallbackQuery` -- `from aiogram.api.types.answer_callback_query import AnswerCallbackQuery` +- `from aiogram.methods import AnswerCallbackQuery` +- `from aiogram.api.methods import AnswerCallbackQuery` +- `from aiogram.api.methods.answer_callback_query import AnswerCallbackQuery` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/answer_inline_query.md b/docs/api/methods/answer_inline_query.md index f2241848..e84bdcb2 100644 --- a/docs/api/methods/answer_inline_query.md +++ b/docs/api/methods/answer_inline_query.md @@ -41,9 +41,9 @@ result: bool = await bot.answer_inline_query(...) Imports: -- `from aiogram.types import AnswerInlineQuery` -- `from aiogram.api.types import AnswerInlineQuery` -- `from aiogram.api.types.answer_inline_query import AnswerInlineQuery` +- `from aiogram.methods import AnswerInlineQuery` +- `from aiogram.api.methods import AnswerInlineQuery` +- `from aiogram.api.methods.answer_inline_query import AnswerInlineQuery` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/answer_pre_checkout_query.md b/docs/api/methods/answer_pre_checkout_query.md index fb906031..7833030f 100644 --- a/docs/api/methods/answer_pre_checkout_query.md +++ b/docs/api/methods/answer_pre_checkout_query.md @@ -35,9 +35,9 @@ result: bool = await bot.answer_pre_checkout_query(...) Imports: -- `from aiogram.types import AnswerPreCheckoutQuery` -- `from aiogram.api.types import AnswerPreCheckoutQuery` -- `from aiogram.api.types.answer_pre_checkout_query import AnswerPreCheckoutQuery` +- `from aiogram.methods import AnswerPreCheckoutQuery` +- `from aiogram.api.methods import AnswerPreCheckoutQuery` +- `from aiogram.api.methods.answer_pre_checkout_query import AnswerPreCheckoutQuery` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/answer_shipping_query.md b/docs/api/methods/answer_shipping_query.md index a380d373..d1197cc7 100644 --- a/docs/api/methods/answer_shipping_query.md +++ b/docs/api/methods/answer_shipping_query.md @@ -36,9 +36,9 @@ result: bool = await bot.answer_shipping_query(...) Imports: -- `from aiogram.types import AnswerShippingQuery` -- `from aiogram.api.types import AnswerShippingQuery` -- `from aiogram.api.types.answer_shipping_query import AnswerShippingQuery` +- `from aiogram.methods import AnswerShippingQuery` +- `from aiogram.api.methods import AnswerShippingQuery` +- `from aiogram.api.methods.answer_shipping_query import AnswerShippingQuery` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/create_new_sticker_set.md b/docs/api/methods/create_new_sticker_set.md index 7c23efe1..3f25c14e 100644 --- a/docs/api/methods/create_new_sticker_set.md +++ b/docs/api/methods/create_new_sticker_set.md @@ -39,9 +39,9 @@ result: bool = await bot.create_new_sticker_set(...) Imports: -- `from aiogram.types import CreateNewStickerSet` -- `from aiogram.api.types import CreateNewStickerSet` -- `from aiogram.api.types.create_new_sticker_set import CreateNewStickerSet` +- `from aiogram.methods import CreateNewStickerSet` +- `from aiogram.api.methods import CreateNewStickerSet` +- `from aiogram.api.methods.create_new_sticker_set import CreateNewStickerSet` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/delete_chat_photo.md b/docs/api/methods/delete_chat_photo.md index f99754e7..0eedbe36 100644 --- a/docs/api/methods/delete_chat_photo.md +++ b/docs/api/methods/delete_chat_photo.md @@ -33,9 +33,9 @@ result: bool = await bot.delete_chat_photo(...) Imports: -- `from aiogram.types import DeleteChatPhoto` -- `from aiogram.api.types import DeleteChatPhoto` -- `from aiogram.api.types.delete_chat_photo import DeleteChatPhoto` +- `from aiogram.methods import DeleteChatPhoto` +- `from aiogram.api.methods import DeleteChatPhoto` +- `from aiogram.api.methods.delete_chat_photo import DeleteChatPhoto` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/delete_chat_sticker_set.md b/docs/api/methods/delete_chat_sticker_set.md index dda5f0ea..266a53b7 100644 --- a/docs/api/methods/delete_chat_sticker_set.md +++ b/docs/api/methods/delete_chat_sticker_set.md @@ -33,9 +33,9 @@ result: bool = await bot.delete_chat_sticker_set(...) Imports: -- `from aiogram.types import DeleteChatStickerSet` -- `from aiogram.api.types import DeleteChatStickerSet` -- `from aiogram.api.types.delete_chat_sticker_set import DeleteChatStickerSet` +- `from aiogram.methods import DeleteChatStickerSet` +- `from aiogram.api.methods import DeleteChatStickerSet` +- `from aiogram.api.methods.delete_chat_sticker_set import DeleteChatStickerSet` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/delete_message.md b/docs/api/methods/delete_message.md index cfce1306..273c07de 100644 --- a/docs/api/methods/delete_message.md +++ b/docs/api/methods/delete_message.md @@ -48,9 +48,9 @@ result: bool = await bot.delete_message(...) Imports: -- `from aiogram.types import DeleteMessage` -- `from aiogram.api.types import DeleteMessage` -- `from aiogram.api.types.delete_message import DeleteMessage` +- `from aiogram.methods import DeleteMessage` +- `from aiogram.api.methods import DeleteMessage` +- `from aiogram.api.methods.delete_message import DeleteMessage` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/delete_sticker_from_set.md b/docs/api/methods/delete_sticker_from_set.md index 11c6d335..40f99276 100644 --- a/docs/api/methods/delete_sticker_from_set.md +++ b/docs/api/methods/delete_sticker_from_set.md @@ -33,9 +33,9 @@ result: bool = await bot.delete_sticker_from_set(...) Imports: -- `from aiogram.types import DeleteStickerFromSet` -- `from aiogram.api.types import DeleteStickerFromSet` -- `from aiogram.api.types.delete_sticker_from_set import DeleteStickerFromSet` +- `from aiogram.methods import DeleteStickerFromSet` +- `from aiogram.api.methods import DeleteStickerFromSet` +- `from aiogram.api.methods.delete_sticker_from_set import DeleteStickerFromSet` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/delete_webhook.md b/docs/api/methods/delete_webhook.md index cc6ae8c3..cfc78ac2 100644 --- a/docs/api/methods/delete_webhook.md +++ b/docs/api/methods/delete_webhook.md @@ -27,9 +27,9 @@ result: bool = await bot.delete_webhook(...) Imports: -- `from aiogram.types import DeleteWebhook` -- `from aiogram.api.types import DeleteWebhook` -- `from aiogram.api.types.delete_webhook import DeleteWebhook` +- `from aiogram.methods import DeleteWebhook` +- `from aiogram.api.methods import DeleteWebhook` +- `from aiogram.api.methods.delete_webhook import DeleteWebhook` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/edit_message_caption.md b/docs/api/methods/edit_message_caption.md index c9cb2903..06f1f31e 100644 --- a/docs/api/methods/edit_message_caption.md +++ b/docs/api/methods/edit_message_caption.md @@ -38,9 +38,9 @@ result: Union[Message, bool] = await bot.edit_message_caption(...) Imports: -- `from aiogram.types import EditMessageCaption` -- `from aiogram.api.types import EditMessageCaption` -- `from aiogram.api.types.edit_message_caption import EditMessageCaption` +- `from aiogram.methods import EditMessageCaption` +- `from aiogram.api.methods import EditMessageCaption` +- `from aiogram.api.methods.edit_message_caption import EditMessageCaption` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/edit_message_live_location.md b/docs/api/methods/edit_message_live_location.md index 6fa661fc..2ffaab42 100644 --- a/docs/api/methods/edit_message_live_location.md +++ b/docs/api/methods/edit_message_live_location.md @@ -38,9 +38,9 @@ result: Union[Message, bool] = await bot.edit_message_live_location(...) Imports: -- `from aiogram.types import EditMessageLiveLocation` -- `from aiogram.api.types import EditMessageLiveLocation` -- `from aiogram.api.types.edit_message_live_location import EditMessageLiveLocation` +- `from aiogram.methods import EditMessageLiveLocation` +- `from aiogram.api.methods import EditMessageLiveLocation` +- `from aiogram.api.methods.edit_message_live_location import EditMessageLiveLocation` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/edit_message_media.md b/docs/api/methods/edit_message_media.md index c63ad09a..60b255db 100644 --- a/docs/api/methods/edit_message_media.md +++ b/docs/api/methods/edit_message_media.md @@ -37,9 +37,9 @@ result: Union[Message, bool] = await bot.edit_message_media(...) Imports: -- `from aiogram.types import EditMessageMedia` -- `from aiogram.api.types import EditMessageMedia` -- `from aiogram.api.types.edit_message_media import EditMessageMedia` +- `from aiogram.methods import EditMessageMedia` +- `from aiogram.api.methods import EditMessageMedia` +- `from aiogram.api.methods.edit_message_media import EditMessageMedia` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/edit_message_reply_markup.md b/docs/api/methods/edit_message_reply_markup.md index 9996bb33..16cb8b37 100644 --- a/docs/api/methods/edit_message_reply_markup.md +++ b/docs/api/methods/edit_message_reply_markup.md @@ -36,9 +36,9 @@ result: Union[Message, bool] = await bot.edit_message_reply_markup(...) Imports: -- `from aiogram.types import EditMessageReplyMarkup` -- `from aiogram.api.types import EditMessageReplyMarkup` -- `from aiogram.api.types.edit_message_reply_markup import EditMessageReplyMarkup` +- `from aiogram.methods import EditMessageReplyMarkup` +- `from aiogram.api.methods import EditMessageReplyMarkup` +- `from aiogram.api.methods.edit_message_reply_markup import EditMessageReplyMarkup` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/edit_message_text.md b/docs/api/methods/edit_message_text.md index eb42af07..7d65e8c5 100644 --- a/docs/api/methods/edit_message_text.md +++ b/docs/api/methods/edit_message_text.md @@ -39,9 +39,9 @@ result: Union[Message, bool] = await bot.edit_message_text(...) Imports: -- `from aiogram.types import EditMessageText` -- `from aiogram.api.types import EditMessageText` -- `from aiogram.api.types.edit_message_text import EditMessageText` +- `from aiogram.methods import EditMessageText` +- `from aiogram.api.methods import EditMessageText` +- `from aiogram.api.methods.edit_message_text import EditMessageText` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/export_chat_invite_link.md b/docs/api/methods/export_chat_invite_link.md index 102a95c9..4c696a28 100644 --- a/docs/api/methods/export_chat_invite_link.md +++ b/docs/api/methods/export_chat_invite_link.md @@ -35,9 +35,9 @@ result: str = await bot.export_chat_invite_link(...) Imports: -- `from aiogram.types import ExportChatInviteLink` -- `from aiogram.api.types import ExportChatInviteLink` -- `from aiogram.api.types.export_chat_invite_link import ExportChatInviteLink` +- `from aiogram.methods import ExportChatInviteLink` +- `from aiogram.api.methods import ExportChatInviteLink` +- `from aiogram.api.methods.export_chat_invite_link import ExportChatInviteLink` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/forward_message.md b/docs/api/methods/forward_message.md index 549ac6e2..60e5bf20 100644 --- a/docs/api/methods/forward_message.md +++ b/docs/api/methods/forward_message.md @@ -36,9 +36,9 @@ result: Message = await bot.forward_message(...) Imports: -- `from aiogram.types import ForwardMessage` -- `from aiogram.api.types import ForwardMessage` -- `from aiogram.api.types.forward_message import ForwardMessage` +- `from aiogram.methods import ForwardMessage` +- `from aiogram.api.methods import ForwardMessage` +- `from aiogram.api.methods.forward_message import ForwardMessage` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/get_chat.md b/docs/api/methods/get_chat.md index e6269159..fa55a5f5 100644 --- a/docs/api/methods/get_chat.md +++ b/docs/api/methods/get_chat.md @@ -33,9 +33,9 @@ result: Chat = await bot.get_chat(...) Imports: -- `from aiogram.types import GetChat` -- `from aiogram.api.types import GetChat` -- `from aiogram.api.types.get_chat import GetChat` +- `from aiogram.methods import GetChat` +- `from aiogram.api.methods import GetChat` +- `from aiogram.api.methods.get_chat import GetChat` #### With specific bot diff --git a/docs/api/methods/get_chat_administrators.md b/docs/api/methods/get_chat_administrators.md index 3ee9a3da..37481883 100644 --- a/docs/api/methods/get_chat_administrators.md +++ b/docs/api/methods/get_chat_administrators.md @@ -33,9 +33,9 @@ result: List[ChatMember] = await bot.get_chat_administrators(...) Imports: -- `from aiogram.types import GetChatAdministrators` -- `from aiogram.api.types import GetChatAdministrators` -- `from aiogram.api.types.get_chat_administrators import GetChatAdministrators` +- `from aiogram.methods import GetChatAdministrators` +- `from aiogram.api.methods import GetChatAdministrators` +- `from aiogram.api.methods.get_chat_administrators import GetChatAdministrators` #### With specific bot diff --git a/docs/api/methods/get_chat_member.md b/docs/api/methods/get_chat_member.md index 12559e0c..761c253b 100644 --- a/docs/api/methods/get_chat_member.md +++ b/docs/api/methods/get_chat_member.md @@ -34,9 +34,9 @@ result: ChatMember = await bot.get_chat_member(...) Imports: -- `from aiogram.types import GetChatMember` -- `from aiogram.api.types import GetChatMember` -- `from aiogram.api.types.get_chat_member import GetChatMember` +- `from aiogram.methods import GetChatMember` +- `from aiogram.api.methods import GetChatMember` +- `from aiogram.api.methods.get_chat_member import GetChatMember` #### With specific bot diff --git a/docs/api/methods/get_chat_members_count.md b/docs/api/methods/get_chat_members_count.md index 8897955a..6c85e74d 100644 --- a/docs/api/methods/get_chat_members_count.md +++ b/docs/api/methods/get_chat_members_count.md @@ -33,9 +33,9 @@ result: int = await bot.get_chat_members_count(...) Imports: -- `from aiogram.types import GetChatMembersCount` -- `from aiogram.api.types import GetChatMembersCount` -- `from aiogram.api.types.get_chat_members_count import GetChatMembersCount` +- `from aiogram.methods import GetChatMembersCount` +- `from aiogram.api.methods import GetChatMembersCount` +- `from aiogram.api.methods.get_chat_members_count import GetChatMembersCount` #### With specific bot diff --git a/docs/api/methods/get_file.md b/docs/api/methods/get_file.md index 6e2fd4d3..b89910d9 100644 --- a/docs/api/methods/get_file.md +++ b/docs/api/methods/get_file.md @@ -35,9 +35,9 @@ result: File = await bot.get_file(...) Imports: -- `from aiogram.types import GetFile` -- `from aiogram.api.types import GetFile` -- `from aiogram.api.types.get_file import GetFile` +- `from aiogram.methods import GetFile` +- `from aiogram.api.methods import GetFile` +- `from aiogram.api.methods.get_file import GetFile` #### With specific bot diff --git a/docs/api/methods/get_game_high_scores.md b/docs/api/methods/get_game_high_scores.md index 3ad39a34..1055d672 100644 --- a/docs/api/methods/get_game_high_scores.md +++ b/docs/api/methods/get_game_high_scores.md @@ -38,9 +38,9 @@ result: List[GameHighScore] = await bot.get_game_high_scores(...) Imports: -- `from aiogram.types import GetGameHighScores` -- `from aiogram.api.types import GetGameHighScores` -- `from aiogram.api.types.get_game_high_scores import GetGameHighScores` +- `from aiogram.methods import GetGameHighScores` +- `from aiogram.api.methods import GetGameHighScores` +- `from aiogram.api.methods.get_game_high_scores import GetGameHighScores` #### With specific bot diff --git a/docs/api/methods/get_me.md b/docs/api/methods/get_me.md index 144862f6..d57ccf11 100644 --- a/docs/api/methods/get_me.md +++ b/docs/api/methods/get_me.md @@ -27,9 +27,9 @@ result: User = await bot.get_me(...) Imports: -- `from aiogram.types import GetMe` -- `from aiogram.api.types import GetMe` -- `from aiogram.api.types.get_me import GetMe` +- `from aiogram.methods import GetMe` +- `from aiogram.api.methods import GetMe` +- `from aiogram.api.methods.get_me import GetMe` #### With specific bot diff --git a/docs/api/methods/get_sticker_set.md b/docs/api/methods/get_sticker_set.md index 937c23c7..7c4fed19 100644 --- a/docs/api/methods/get_sticker_set.md +++ b/docs/api/methods/get_sticker_set.md @@ -33,9 +33,9 @@ result: StickerSet = await bot.get_sticker_set(...) Imports: -- `from aiogram.types import GetStickerSet` -- `from aiogram.api.types import GetStickerSet` -- `from aiogram.api.types.get_sticker_set import GetStickerSet` +- `from aiogram.methods import GetStickerSet` +- `from aiogram.api.methods import GetStickerSet` +- `from aiogram.api.methods.get_sticker_set import GetStickerSet` #### With specific bot diff --git a/docs/api/methods/get_updates.md b/docs/api/methods/get_updates.md index 531259af..3ca4ac18 100644 --- a/docs/api/methods/get_updates.md +++ b/docs/api/methods/get_updates.md @@ -42,9 +42,9 @@ result: List[Update] = await bot.get_updates(...) Imports: -- `from aiogram.types import GetUpdates` -- `from aiogram.api.types import GetUpdates` -- `from aiogram.api.types.get_updates import GetUpdates` +- `from aiogram.methods import GetUpdates` +- `from aiogram.api.methods import GetUpdates` +- `from aiogram.api.methods.get_updates import GetUpdates` #### With specific bot diff --git a/docs/api/methods/get_user_profile_photos.md b/docs/api/methods/get_user_profile_photos.md index f8937696..082cb73c 100644 --- a/docs/api/methods/get_user_profile_photos.md +++ b/docs/api/methods/get_user_profile_photos.md @@ -35,9 +35,9 @@ result: UserProfilePhotos = await bot.get_user_profile_photos(...) Imports: -- `from aiogram.types import GetUserProfilePhotos` -- `from aiogram.api.types import GetUserProfilePhotos` -- `from aiogram.api.types.get_user_profile_photos import GetUserProfilePhotos` +- `from aiogram.methods import GetUserProfilePhotos` +- `from aiogram.api.methods import GetUserProfilePhotos` +- `from aiogram.api.methods.get_user_profile_photos import GetUserProfilePhotos` #### With specific bot diff --git a/docs/api/methods/get_webhook_info.md b/docs/api/methods/get_webhook_info.md index e58b0a73..c6868a40 100644 --- a/docs/api/methods/get_webhook_info.md +++ b/docs/api/methods/get_webhook_info.md @@ -27,9 +27,9 @@ result: WebhookInfo = await bot.get_webhook_info(...) Imports: -- `from aiogram.types import GetWebhookInfo` -- `from aiogram.api.types import GetWebhookInfo` -- `from aiogram.api.types.get_webhook_info import GetWebhookInfo` +- `from aiogram.methods import GetWebhookInfo` +- `from aiogram.api.methods import GetWebhookInfo` +- `from aiogram.api.methods.get_webhook_info import GetWebhookInfo` #### With specific bot diff --git a/docs/api/methods/kick_chat_member.md b/docs/api/methods/kick_chat_member.md index b13a56db..c8d0b811 100644 --- a/docs/api/methods/kick_chat_member.md +++ b/docs/api/methods/kick_chat_member.md @@ -35,9 +35,9 @@ result: bool = await bot.kick_chat_member(...) Imports: -- `from aiogram.types import KickChatMember` -- `from aiogram.api.types import KickChatMember` -- `from aiogram.api.types.kick_chat_member import KickChatMember` +- `from aiogram.methods import KickChatMember` +- `from aiogram.api.methods import KickChatMember` +- `from aiogram.api.methods.kick_chat_member import KickChatMember` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/leave_chat.md b/docs/api/methods/leave_chat.md index 444baa22..b8f980f3 100644 --- a/docs/api/methods/leave_chat.md +++ b/docs/api/methods/leave_chat.md @@ -33,9 +33,9 @@ result: bool = await bot.leave_chat(...) Imports: -- `from aiogram.types import LeaveChat` -- `from aiogram.api.types import LeaveChat` -- `from aiogram.api.types.leave_chat import LeaveChat` +- `from aiogram.methods import LeaveChat` +- `from aiogram.api.methods import LeaveChat` +- `from aiogram.api.methods.leave_chat import LeaveChat` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/pin_chat_message.md b/docs/api/methods/pin_chat_message.md index cefc24b5..b94f86ed 100644 --- a/docs/api/methods/pin_chat_message.md +++ b/docs/api/methods/pin_chat_message.md @@ -35,9 +35,9 @@ result: bool = await bot.pin_chat_message(...) Imports: -- `from aiogram.types import PinChatMessage` -- `from aiogram.api.types import PinChatMessage` -- `from aiogram.api.types.pin_chat_message import PinChatMessage` +- `from aiogram.methods import PinChatMessage` +- `from aiogram.api.methods import PinChatMessage` +- `from aiogram.api.methods.pin_chat_message import PinChatMessage` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/promote_chat_member.md b/docs/api/methods/promote_chat_member.md index 9011dd22..8b031cec 100644 --- a/docs/api/methods/promote_chat_member.md +++ b/docs/api/methods/promote_chat_member.md @@ -42,9 +42,9 @@ result: bool = await bot.promote_chat_member(...) Imports: -- `from aiogram.types import PromoteChatMember` -- `from aiogram.api.types import PromoteChatMember` -- `from aiogram.api.types.promote_chat_member import PromoteChatMember` +- `from aiogram.methods import PromoteChatMember` +- `from aiogram.api.methods import PromoteChatMember` +- `from aiogram.api.methods.promote_chat_member import PromoteChatMember` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/restrict_chat_member.md b/docs/api/methods/restrict_chat_member.md index 7aa605b3..a03725cc 100644 --- a/docs/api/methods/restrict_chat_member.md +++ b/docs/api/methods/restrict_chat_member.md @@ -36,9 +36,9 @@ result: bool = await bot.restrict_chat_member(...) Imports: -- `from aiogram.types import RestrictChatMember` -- `from aiogram.api.types import RestrictChatMember` -- `from aiogram.api.types.restrict_chat_member import RestrictChatMember` +- `from aiogram.methods import RestrictChatMember` +- `from aiogram.api.methods import RestrictChatMember` +- `from aiogram.api.methods.restrict_chat_member import RestrictChatMember` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_animation.md b/docs/api/methods/send_animation.md index a83e3f4c..fac7d9c3 100644 --- a/docs/api/methods/send_animation.md +++ b/docs/api/methods/send_animation.md @@ -43,9 +43,9 @@ result: Message = await bot.send_animation(...) Imports: -- `from aiogram.types import SendAnimation` -- `from aiogram.api.types import SendAnimation` -- `from aiogram.api.types.send_animation import SendAnimation` +- `from aiogram.methods import SendAnimation` +- `from aiogram.api.methods import SendAnimation` +- `from aiogram.api.methods.send_animation import SendAnimation` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_audio.md b/docs/api/methods/send_audio.md index ad16e845..fdeb29f1 100644 --- a/docs/api/methods/send_audio.md +++ b/docs/api/methods/send_audio.md @@ -45,9 +45,9 @@ result: Message = await bot.send_audio(...) Imports: -- `from aiogram.types import SendAudio` -- `from aiogram.api.types import SendAudio` -- `from aiogram.api.types.send_audio import SendAudio` +- `from aiogram.methods import SendAudio` +- `from aiogram.api.methods import SendAudio` +- `from aiogram.api.methods.send_audio import SendAudio` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_chat_action.md b/docs/api/methods/send_chat_action.md index 6694df80..1dfab03b 100644 --- a/docs/api/methods/send_chat_action.md +++ b/docs/api/methods/send_chat_action.md @@ -38,9 +38,9 @@ result: bool = await bot.send_chat_action(...) Imports: -- `from aiogram.types import SendChatAction` -- `from aiogram.api.types import SendChatAction` -- `from aiogram.api.types.send_chat_action import SendChatAction` +- `from aiogram.methods import SendChatAction` +- `from aiogram.api.methods import SendChatAction` +- `from aiogram.api.methods.send_chat_action import SendChatAction` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_contact.md b/docs/api/methods/send_contact.md index 2b625aeb..3f67e608 100644 --- a/docs/api/methods/send_contact.md +++ b/docs/api/methods/send_contact.md @@ -40,9 +40,9 @@ result: Message = await bot.send_contact(...) Imports: -- `from aiogram.types import SendContact` -- `from aiogram.api.types import SendContact` -- `from aiogram.api.types.send_contact import SendContact` +- `from aiogram.methods import SendContact` +- `from aiogram.api.methods import SendContact` +- `from aiogram.api.methods.send_contact import SendContact` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_document.md b/docs/api/methods/send_document.md index 06213ceb..9fd71e38 100644 --- a/docs/api/methods/send_document.md +++ b/docs/api/methods/send_document.md @@ -40,9 +40,9 @@ result: Message = await bot.send_document(...) Imports: -- `from aiogram.types import SendDocument` -- `from aiogram.api.types import SendDocument` -- `from aiogram.api.types.send_document import SendDocument` +- `from aiogram.methods import SendDocument` +- `from aiogram.api.methods import SendDocument` +- `from aiogram.api.methods.send_document import SendDocument` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_game.md b/docs/api/methods/send_game.md index 76e99eef..85901bff 100644 --- a/docs/api/methods/send_game.md +++ b/docs/api/methods/send_game.md @@ -37,9 +37,9 @@ result: Message = await bot.send_game(...) Imports: -- `from aiogram.types import SendGame` -- `from aiogram.api.types import SendGame` -- `from aiogram.api.types.send_game import SendGame` +- `from aiogram.methods import SendGame` +- `from aiogram.api.methods import SendGame` +- `from aiogram.api.methods.send_game import SendGame` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_invoice.md b/docs/api/methods/send_invoice.md index 8191c34a..f9cc8023 100644 --- a/docs/api/methods/send_invoice.md +++ b/docs/api/methods/send_invoice.md @@ -55,9 +55,9 @@ result: Message = await bot.send_invoice(...) Imports: -- `from aiogram.types import SendInvoice` -- `from aiogram.api.types import SendInvoice` -- `from aiogram.api.types.send_invoice import SendInvoice` +- `from aiogram.methods import SendInvoice` +- `from aiogram.api.methods import SendInvoice` +- `from aiogram.api.methods.send_invoice import SendInvoice` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_location.md b/docs/api/methods/send_location.md index 68e945d7..eaa88ed7 100644 --- a/docs/api/methods/send_location.md +++ b/docs/api/methods/send_location.md @@ -39,9 +39,9 @@ result: Message = await bot.send_location(...) Imports: -- `from aiogram.types import SendLocation` -- `from aiogram.api.types import SendLocation` -- `from aiogram.api.types.send_location import SendLocation` +- `from aiogram.methods import SendLocation` +- `from aiogram.api.methods import SendLocation` +- `from aiogram.api.methods.send_location import SendLocation` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_media_group.md b/docs/api/methods/send_media_group.md index 5b2e2569..a291d489 100644 --- a/docs/api/methods/send_media_group.md +++ b/docs/api/methods/send_media_group.md @@ -36,9 +36,9 @@ result: List[Message] = await bot.send_media_group(...) Imports: -- `from aiogram.types import SendMediaGroup` -- `from aiogram.api.types import SendMediaGroup` -- `from aiogram.api.types.send_media_group import SendMediaGroup` +- `from aiogram.methods import SendMediaGroup` +- `from aiogram.api.methods import SendMediaGroup` +- `from aiogram.api.methods.send_media_group import SendMediaGroup` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_message.md b/docs/api/methods/send_message.md index 00176b19..c3a8bfbc 100644 --- a/docs/api/methods/send_message.md +++ b/docs/api/methods/send_message.md @@ -39,9 +39,9 @@ result: Message = await bot.send_message(...) Imports: -- `from aiogram.types import SendMessage` -- `from aiogram.api.types import SendMessage` -- `from aiogram.api.types.send_message import SendMessage` +- `from aiogram.methods import SendMessage` +- `from aiogram.api.methods import SendMessage` +- `from aiogram.api.methods.send_message import SendMessage` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_photo.md b/docs/api/methods/send_photo.md index 029379f4..275c4b8b 100644 --- a/docs/api/methods/send_photo.md +++ b/docs/api/methods/send_photo.md @@ -39,9 +39,9 @@ result: Message = await bot.send_photo(...) Imports: -- `from aiogram.types import SendPhoto` -- `from aiogram.api.types import SendPhoto` -- `from aiogram.api.types.send_photo import SendPhoto` +- `from aiogram.methods import SendPhoto` +- `from aiogram.api.methods import SendPhoto` +- `from aiogram.api.methods.send_photo import SendPhoto` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_poll.md b/docs/api/methods/send_poll.md index 3f1c1b39..cc3c4f58 100644 --- a/docs/api/methods/send_poll.md +++ b/docs/api/methods/send_poll.md @@ -38,9 +38,9 @@ result: Message = await bot.send_poll(...) Imports: -- `from aiogram.types import SendPoll` -- `from aiogram.api.types import SendPoll` -- `from aiogram.api.types.send_poll import SendPoll` +- `from aiogram.methods import SendPoll` +- `from aiogram.api.methods import SendPoll` +- `from aiogram.api.methods.send_poll import SendPoll` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_sticker.md b/docs/api/methods/send_sticker.md index 314fab95..ccbb5638 100644 --- a/docs/api/methods/send_sticker.md +++ b/docs/api/methods/send_sticker.md @@ -37,9 +37,9 @@ result: Message = await bot.send_sticker(...) Imports: -- `from aiogram.types import SendSticker` -- `from aiogram.api.types import SendSticker` -- `from aiogram.api.types.send_sticker import SendSticker` +- `from aiogram.methods import SendSticker` +- `from aiogram.api.methods import SendSticker` +- `from aiogram.api.methods.send_sticker import SendSticker` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_venue.md b/docs/api/methods/send_venue.md index 87d1fe22..a83ba2db 100644 --- a/docs/api/methods/send_venue.md +++ b/docs/api/methods/send_venue.md @@ -42,9 +42,9 @@ result: Message = await bot.send_venue(...) Imports: -- `from aiogram.types import SendVenue` -- `from aiogram.api.types import SendVenue` -- `from aiogram.api.types.send_venue import SendVenue` +- `from aiogram.methods import SendVenue` +- `from aiogram.api.methods import SendVenue` +- `from aiogram.api.methods.send_venue import SendVenue` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_video.md b/docs/api/methods/send_video.md index fa51bca9..76582afb 100644 --- a/docs/api/methods/send_video.md +++ b/docs/api/methods/send_video.md @@ -44,9 +44,9 @@ result: Message = await bot.send_video(...) Imports: -- `from aiogram.types import SendVideo` -- `from aiogram.api.types import SendVideo` -- `from aiogram.api.types.send_video import SendVideo` +- `from aiogram.methods import SendVideo` +- `from aiogram.api.methods import SendVideo` +- `from aiogram.api.methods.send_video import SendVideo` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_video_note.md b/docs/api/methods/send_video_note.md index f5e07d71..04fb05c3 100644 --- a/docs/api/methods/send_video_note.md +++ b/docs/api/methods/send_video_note.md @@ -40,9 +40,9 @@ result: Message = await bot.send_video_note(...) Imports: -- `from aiogram.types import SendVideoNote` -- `from aiogram.api.types import SendVideoNote` -- `from aiogram.api.types.send_video_note import SendVideoNote` +- `from aiogram.methods import SendVideoNote` +- `from aiogram.api.methods import SendVideoNote` +- `from aiogram.api.methods.send_video_note import SendVideoNote` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/send_voice.md b/docs/api/methods/send_voice.md index 4c24c4d4..f99655b0 100644 --- a/docs/api/methods/send_voice.md +++ b/docs/api/methods/send_voice.md @@ -40,9 +40,9 @@ result: Message = await bot.send_voice(...) Imports: -- `from aiogram.types import SendVoice` -- `from aiogram.api.types import SendVoice` -- `from aiogram.api.types.send_voice import SendVoice` +- `from aiogram.methods import SendVoice` +- `from aiogram.api.methods import SendVoice` +- `from aiogram.api.methods.send_voice import SendVoice` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/set_chat_description.md b/docs/api/methods/set_chat_description.md index d083808f..837a100b 100644 --- a/docs/api/methods/set_chat_description.md +++ b/docs/api/methods/set_chat_description.md @@ -34,9 +34,9 @@ result: bool = await bot.set_chat_description(...) Imports: -- `from aiogram.types import SetChatDescription` -- `from aiogram.api.types import SetChatDescription` -- `from aiogram.api.types.set_chat_description import SetChatDescription` +- `from aiogram.methods import SetChatDescription` +- `from aiogram.api.methods import SetChatDescription` +- `from aiogram.api.methods.set_chat_description import SetChatDescription` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/set_chat_permissions.md b/docs/api/methods/set_chat_permissions.md index da8e5680..d97c23ad 100644 --- a/docs/api/methods/set_chat_permissions.md +++ b/docs/api/methods/set_chat_permissions.md @@ -34,9 +34,9 @@ result: bool = await bot.set_chat_permissions(...) Imports: -- `from aiogram.types import SetChatPermissions` -- `from aiogram.api.types import SetChatPermissions` -- `from aiogram.api.types.set_chat_permissions import SetChatPermissions` +- `from aiogram.methods import SetChatPermissions` +- `from aiogram.api.methods import SetChatPermissions` +- `from aiogram.api.methods.set_chat_permissions import SetChatPermissions` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/set_chat_photo.md b/docs/api/methods/set_chat_photo.md index 7c2c59d6..5c9c8167 100644 --- a/docs/api/methods/set_chat_photo.md +++ b/docs/api/methods/set_chat_photo.md @@ -34,9 +34,9 @@ result: bool = await bot.set_chat_photo(...) Imports: -- `from aiogram.types import SetChatPhoto` -- `from aiogram.api.types import SetChatPhoto` -- `from aiogram.api.types.set_chat_photo import SetChatPhoto` +- `from aiogram.methods import SetChatPhoto` +- `from aiogram.api.methods import SetChatPhoto` +- `from aiogram.api.methods.set_chat_photo import SetChatPhoto` #### With specific bot diff --git a/docs/api/methods/set_chat_sticker_set.md b/docs/api/methods/set_chat_sticker_set.md index bc612e33..375742f2 100644 --- a/docs/api/methods/set_chat_sticker_set.md +++ b/docs/api/methods/set_chat_sticker_set.md @@ -34,9 +34,9 @@ result: bool = await bot.set_chat_sticker_set(...) Imports: -- `from aiogram.types import SetChatStickerSet` -- `from aiogram.api.types import SetChatStickerSet` -- `from aiogram.api.types.set_chat_sticker_set import SetChatStickerSet` +- `from aiogram.methods import SetChatStickerSet` +- `from aiogram.api.methods import SetChatStickerSet` +- `from aiogram.api.methods.set_chat_sticker_set import SetChatStickerSet` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/set_chat_title.md b/docs/api/methods/set_chat_title.md index a3fb45b4..7ac44236 100644 --- a/docs/api/methods/set_chat_title.md +++ b/docs/api/methods/set_chat_title.md @@ -34,9 +34,9 @@ result: bool = await bot.set_chat_title(...) Imports: -- `from aiogram.types import SetChatTitle` -- `from aiogram.api.types import SetChatTitle` -- `from aiogram.api.types.set_chat_title import SetChatTitle` +- `from aiogram.methods import SetChatTitle` +- `from aiogram.api.methods import SetChatTitle` +- `from aiogram.api.methods.set_chat_title import SetChatTitle` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/set_game_score.md b/docs/api/methods/set_game_score.md index 3ad9539a..a56a5ac3 100644 --- a/docs/api/methods/set_game_score.md +++ b/docs/api/methods/set_game_score.md @@ -39,9 +39,9 @@ result: Union[Message, bool] = await bot.set_game_score(...) Imports: -- `from aiogram.types import SetGameScore` -- `from aiogram.api.types import SetGameScore` -- `from aiogram.api.types.set_game_score import SetGameScore` +- `from aiogram.methods import SetGameScore` +- `from aiogram.api.methods import SetGameScore` +- `from aiogram.api.methods.set_game_score import SetGameScore` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/set_passport_data_errors.md b/docs/api/methods/set_passport_data_errors.md index 404ef385..6924dc90 100644 --- a/docs/api/methods/set_passport_data_errors.md +++ b/docs/api/methods/set_passport_data_errors.md @@ -36,9 +36,9 @@ result: bool = await bot.set_passport_data_errors(...) Imports: -- `from aiogram.types import SetPassportDataErrors` -- `from aiogram.api.types import SetPassportDataErrors` -- `from aiogram.api.types.set_passport_data_errors import SetPassportDataErrors` +- `from aiogram.methods import SetPassportDataErrors` +- `from aiogram.api.methods import SetPassportDataErrors` +- `from aiogram.api.methods.set_passport_data_errors import SetPassportDataErrors` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/set_sticker_position_in_set.md b/docs/api/methods/set_sticker_position_in_set.md index 3564cf54..32c59daa 100644 --- a/docs/api/methods/set_sticker_position_in_set.md +++ b/docs/api/methods/set_sticker_position_in_set.md @@ -34,9 +34,9 @@ result: bool = await bot.set_sticker_position_in_set(...) Imports: -- `from aiogram.types import SetStickerPositionInSet` -- `from aiogram.api.types import SetStickerPositionInSet` -- `from aiogram.api.types.set_sticker_position_in_set import SetStickerPositionInSet` +- `from aiogram.methods import SetStickerPositionInSet` +- `from aiogram.api.methods import SetStickerPositionInSet` +- `from aiogram.api.methods.set_sticker_position_in_set import SetStickerPositionInSet` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/set_webhook.md b/docs/api/methods/set_webhook.md index f4a968e4..5271cf3f 100644 --- a/docs/api/methods/set_webhook.md +++ b/docs/api/methods/set_webhook.md @@ -48,9 +48,9 @@ result: bool = await bot.set_webhook(...) Imports: -- `from aiogram.types import SetWebhook` -- `from aiogram.api.types import SetWebhook` -- `from aiogram.api.types.set_webhook import SetWebhook` +- `from aiogram.methods import SetWebhook` +- `from aiogram.api.methods import SetWebhook` +- `from aiogram.api.methods.set_webhook import SetWebhook` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/stop_message_live_location.md b/docs/api/methods/stop_message_live_location.md index ded4caec..4a9fbc18 100644 --- a/docs/api/methods/stop_message_live_location.md +++ b/docs/api/methods/stop_message_live_location.md @@ -36,9 +36,9 @@ result: Union[Message, bool] = await bot.stop_message_live_location(...) Imports: -- `from aiogram.types import StopMessageLiveLocation` -- `from aiogram.api.types import StopMessageLiveLocation` -- `from aiogram.api.types.stop_message_live_location import StopMessageLiveLocation` +- `from aiogram.methods import StopMessageLiveLocation` +- `from aiogram.api.methods import StopMessageLiveLocation` +- `from aiogram.api.methods.stop_message_live_location import StopMessageLiveLocation` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/stop_poll.md b/docs/api/methods/stop_poll.md index 672354c1..826fc114 100644 --- a/docs/api/methods/stop_poll.md +++ b/docs/api/methods/stop_poll.md @@ -35,9 +35,9 @@ result: Poll = await bot.stop_poll(...) Imports: -- `from aiogram.types import StopPoll` -- `from aiogram.api.types import StopPoll` -- `from aiogram.api.types.stop_poll import StopPoll` +- `from aiogram.methods import StopPoll` +- `from aiogram.api.methods import StopPoll` +- `from aiogram.api.methods.stop_poll import StopPoll` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/unban_chat_member.md b/docs/api/methods/unban_chat_member.md index 95ac83c7..b054cbac 100644 --- a/docs/api/methods/unban_chat_member.md +++ b/docs/api/methods/unban_chat_member.md @@ -34,9 +34,9 @@ result: bool = await bot.unban_chat_member(...) Imports: -- `from aiogram.types import UnbanChatMember` -- `from aiogram.api.types import UnbanChatMember` -- `from aiogram.api.types.unban_chat_member import UnbanChatMember` +- `from aiogram.methods import UnbanChatMember` +- `from aiogram.api.methods import UnbanChatMember` +- `from aiogram.api.methods.unban_chat_member import UnbanChatMember` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/unpin_chat_message.md b/docs/api/methods/unpin_chat_message.md index 48988c22..4b76b651 100644 --- a/docs/api/methods/unpin_chat_message.md +++ b/docs/api/methods/unpin_chat_message.md @@ -33,9 +33,9 @@ result: bool = await bot.unpin_chat_message(...) Imports: -- `from aiogram.types import UnpinChatMessage` -- `from aiogram.api.types import UnpinChatMessage` -- `from aiogram.api.types.unpin_chat_message import UnpinChatMessage` +- `from aiogram.methods import UnpinChatMessage` +- `from aiogram.api.methods import UnpinChatMessage` +- `from aiogram.api.methods.unpin_chat_message import UnpinChatMessage` #### As reply into Webhook ```python3 diff --git a/docs/api/methods/upload_sticker_file.md b/docs/api/methods/upload_sticker_file.md index 6bb7cce1..7a4ff16e 100644 --- a/docs/api/methods/upload_sticker_file.md +++ b/docs/api/methods/upload_sticker_file.md @@ -34,9 +34,9 @@ result: File = await bot.upload_sticker_file(...) Imports: -- `from aiogram.types import UploadStickerFile` -- `from aiogram.api.types import UploadStickerFile` -- `from aiogram.api.types.upload_sticker_file import UploadStickerFile` +- `from aiogram.methods import UploadStickerFile` +- `from aiogram.api.methods import UploadStickerFile` +- `from aiogram.api.methods.upload_sticker_file import UploadStickerFile` #### With specific bot