@@ -102,6 +102,9 @@ class Bot(TelegramObject):
102102 request (:obj:`telegram.utils.request.Request`, optional): Pre initialized
103103 :obj:`telegram.utils.request.Request`.
104104
105+ Note:
106+ Although not documented separately here, the ``Bot`` class also supports the original
107+ camelCase named methods for all API methods. So :attr:`get_me` is equal to ``getMe``.
105108 """
106109
107110 def __init__ (self , token , base_url = None , base_file_url = None , request = None ):
@@ -3070,61 +3073,120 @@ def __reduce__(self):
30703073
30713074 # camelCase aliases
30723075 getMe = get_me
3076+ """Alias for :attr:`get_me`"""
30733077 sendMessage = send_message
3078+ """Alias for :attr:`send_message`"""
30743079 deleteMessage = delete_message
3080+ """Alias for :attr:`delete_message`"""
30753081 forwardMessage = forward_message
3082+ """Alias for :attr:`forward_message`"""
30763083 sendPhoto = send_photo
3084+ """Alias for :attr:`send_photo`"""
30773085 sendAudio = send_audio
3086+ """Alias for :attr:`send_audio`"""
30783087 sendDocument = send_document
3088+ """Alias for :attr:`send_document`"""
30793089 sendSticker = send_sticker
3090+ """Alias for :attr:`send_sticker`"""
30803091 sendVideo = send_video
3092+ """Alias for :attr:`send_video`"""
30813093 sendVoice = send_voice
3094+ """Alias for :attr:`send_voice`"""
30823095 sendVideoNote = send_video_note
3096+ """Alias for :attr:`send_video_note`"""
30833097 sendMediaGroup = send_media_group
3098+ """Alias for :attr:`send_media_group`"""
30843099 sendLocation = send_location
3100+ """Alias for :attr:`send_location`"""
30853101 editMessageLiveLocation = edit_message_live_location
3102+ """Alias for :attr:`edit_message_live_location`"""
30863103 stopMessageLiveLocation = stop_message_live_location
3104+ """Alias for :attr:`stop_message_live_location`"""
30873105 sendVenue = send_venue
3106+ """Alias for :attr:`send_venue`"""
30883107 sendContact = send_contact
3108+ """Alias for :attr:`send_contact`"""
30893109 sendGame = send_game
3110+ """Alias for :attr:`send_game`"""
30903111 sendChatAction = send_chat_action
3112+ """Alias for :attr:`send_chat_action`"""
30913113 answerInlineQuery = answer_inline_query
3114+ """Alias for :attr:`answer_inline_query`"""
30923115 getUserProfilePhotos = get_user_profile_photos
3116+ """Alias for :attr:`get_user_profile_photos`"""
30933117 getFile = get_file
3118+ """Alias for :attr:`get_file`"""
30943119 kickChatMember = kick_chat_member
3120+ """Alias for :attr:`kick_chat_member`"""
30953121 unbanChatMember = unban_chat_member
3122+ """Alias for :attr:`unban_chat_member`"""
30963123 answerCallbackQuery = answer_callback_query
3124+ """Alias for :attr:`answer_callback_query`"""
30973125 editMessageText = edit_message_text
3126+ """Alias for :attr:`edit_message_text`"""
30983127 editMessageCaption = edit_message_caption
3128+ """Alias for :attr:`edit_message_caption`"""
30993129 editMessageReplyMarkup = edit_message_reply_markup
3130+ """Alias for :attr:`edit_message_reply_markup`"""
31003131 getUpdates = get_updates
3132+ """Alias for :attr:`get_updates`"""
31013133 setWebhook = set_webhook
3134+ """Alias for :attr:`set_webhook`"""
31023135 deleteWebhook = delete_webhook
3136+ """Alias for :attr:`delete_webhook`"""
31033137 leaveChat = leave_chat
3138+ """Alias for :attr:`leave_chat`"""
31043139 getChat = get_chat
3140+ """Alias for :attr:`get_chat`"""
31053141 getChatAdministrators = get_chat_administrators
3142+ """Alias for :attr:`get_chat_administrators`"""
31063143 getChatMember = get_chat_member
3144+ """Alias for :attr:`get_chat_member`"""
31073145 setChatStickerSet = set_chat_sticker_set
3146+ """Alias for :attr:`set_chat_sticker_set`"""
31083147 deleteChatStickerSet = delete_chat_sticker_set
3148+ """Alias for :attr:`delete_chat_sticker_set`"""
31093149 getChatMembersCount = get_chat_members_count
3150+ """Alias for :attr:`get_chat_members_count`"""
31103151 getWebhookInfo = get_webhook_info
3152+ """Alias for :attr:`get_webhook_info`"""
31113153 setGameScore = set_game_score
3154+ """Alias for :attr:`set_game_score`"""
31123155 getGameHighScores = get_game_high_scores
3156+ """Alias for :attr:`get_game_high_scores`"""
31133157 sendInvoice = send_invoice
3158+ """Alias for :attr:`send_invoice`"""
31143159 answerShippingQuery = answer_shipping_query
3160+ """Alias for :attr:`answer_shipping_query`"""
31153161 answerPreCheckoutQuery = answer_pre_checkout_query
3162+ """Alias for :attr:`answer_pre_checkout_query`"""
31163163 restrictChatMember = restrict_chat_member
3164+ """Alias for :attr:`restrict_chat_member`"""
31173165 promoteChatMember = promote_chat_member
3166+ """Alias for :attr:`promote_chat_member`"""
31183167 exportChatInviteLink = export_chat_invite_link
3168+ """Alias for :attr:`export_chat_invite_link`"""
31193169 setChatPhoto = set_chat_photo
3170+ """Alias for :attr:`set_chat_photo`"""
31203171 deleteChatPhoto = delete_chat_photo
3172+ """Alias for :attr:`delete_chat_photo`"""
31213173 setChatTitle = set_chat_title
3174+ """Alias for :attr:`set_chat_title`"""
31223175 setChatDescription = set_chat_description
3176+ """Alias for :attr:`set_chat_description`"""
31233177 pinChatMessage = pin_chat_message
3178+ """Alias for :attr:`pin_chat_message`"""
31243179 unpinChatMessage = unpin_chat_message
3180+ """Alias for :attr:`unpin_chat_message`"""
31253181 getStickerSet = get_sticker_set
3182+ """Alias for :attr:`get_sticker_set`"""
31263183 uploadStickerFile = upload_sticker_file
3184+ """Alias for :attr:`upload_sticker_file`"""
31273185 createNewStickerSet = create_new_sticker_set
3186+ """Alias for :attr:`create_new_sticker_set`"""
31283187 addStickerToSet = add_sticker_to_set
3188+ """Alias for :attr:`add_sticker_to_set`"""
31293189 setStickerPositionInSet = set_sticker_position_in_set
3190+ """Alias for :attr:`set_sticker_position_in_set`"""
31303191 deleteStickerFromSet = delete_sticker_from_set
3192+ """Alias for :attr:`delete_sticker_from_set`"""
0 commit comments