1---2name: telegram-bot-api3description: Telegram Bot API skill. Use when working with Telegram Bot for getUpdates, setWebhook, deleteWebhook. Covers 74 endpoints.4---5
6# Telegram Bot API
7API version: 5.0.0
8
9## Auth
10No authentication required.
11
12## Base URL
13https://api.telegram.org/bot{token}
14
15## Setup
161. No auth setup needed
173. POST /getUpdates -- create first getUpdates
18
19## Endpoints
20
2174 endpoints across 74 groups. See references/api-spec.lap for full details.
22
23### getUpdates
24| Method | Path | Description |
25|--------|------|-------------|
26| POST | /getUpdates | Use this method to receive incoming updates using long polling ([wiki](https://en.wikipedia.org/wiki/Push_technology#Long_polling)). An Array of [Update](https://core.telegram.org/bots/api/#update) objects is returned. |
27
28### setWebhook
29| Method | Path | Description |
30|--------|------|-------------|
31| POST | /setWebhook | Use this method to specify a url and receive incoming updates via an outgoing webhook. Whenever there is an update for the bot, we will send an HTTPS POST request to the specified url, containing a JSON-serialized [Update](https://core.telegram.org/bots/api/#update). In case of an unsuccessful request, we will give up after a reasonable amount of attempts. Returns *True* on success. |
32
33### deleteWebhook
34| Method | Path | Description |
35|--------|------|-------------|
36| POST | /deleteWebhook | Use this method to remove webhook integration if you decide to switch back to [getUpdates](https://core.telegram.org/bots/api/#getupdates). Returns *True* on success. |
37
38### getWebhookInfo
39| Method | Path | Description |
40|--------|------|-------------|
41| POST | /getWebhookInfo | Use this method to get current webhook status. Requires no parameters. On success, returns a [WebhookInfo](https://core.telegram.org/bots/api/#webhookinfo) object. If the bot is using [getUpdates](https://core.telegram.org/bots/api/#getupdates), will return an object with the *url* field empty. |
42
43### getMe
44| Method | Path | Description |
45|--------|------|-------------|
46| POST | /getMe | A simple method for testing your bot's auth token. Requires no parameters. Returns basic information about the bot in form of a [User](https://core.telegram.org/bots/api/#user) object. |
47
48### logOut
49| Method | Path | Description |
50|--------|------|-------------|
51| POST | /logOut | Use this method to log out from the cloud Bot API server before launching the bot locally. You **must** log out the bot before running it locally, otherwise there is no guarantee that the bot will receive updates. After a successful call, you can immediately log in on a local server, but will not be able to log in back to the cloud Bot API server for 10 minutes. Returns *True* on success. Requires no parameters. |
52
53### close
54| Method | Path | Description |
55|--------|------|-------------|
56| POST | /close | Use this method to close the bot instance before moving it from one local server to another. You need to delete the webhook before calling this method to ensure that the bot isn't launched again after server restart. The method will return error 429 in the first 10 minutes after the bot is launched. Returns *True* on success. Requires no parameters. |
57
58### sendMessage
59| Method | Path | Description |
60|--------|------|-------------|
61| POST | /sendMessage | Use this method to send text messages. On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. |
62
63### forwardMessage
64| Method | Path | Description |
65|--------|------|-------------|
66| POST | /forwardMessage | Use this method to forward messages of any kind. On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. |
67
68### copyMessage
69| Method | Path | Description |
70|--------|------|-------------|
71| POST | /copyMessage | Use this method to copy messages of any kind. The method is analogous to the method [forwardMessages](https://core.telegram.org/bots/api/#forwardmessages), but the copied message doesn't have a link to the original message. Returns the [MessageId](https://core.telegram.org/bots/api/#messageid) of the sent message on success. |
72
73### sendPhoto
74| Method | Path | Description |
75|--------|------|-------------|
76| POST | /sendPhoto | Use this method to send photos. On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. |
77
78### sendAudio
79| Method | Path | Description |
80|--------|------|-------------|
81| POST | /sendAudio | Use this method to send audio files, if you want Telegram clients to display them in the music player. Your audio must be in the .MP3 or .M4A format. On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. Bots can currently send audio files of up to 50 MB in size, this limit may be changed in the future. |
82
83### sendDocument
84| Method | Path | Description |
85|--------|------|-------------|
86| POST | /sendDocument | Use this method to send general files. On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. Bots can currently send files of any type of up to 50 MB in size, this limit may be changed in the future. |
87
88### sendVideo
89| Method | Path | Description |
90|--------|------|-------------|
91| POST | /sendVideo | Use this method to send video files, Telegram clients support mp4 videos (other formats may be sent as [Document](https://core.telegram.org/bots/api/#document)). On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. Bots can currently send video files of up to 50 MB in size, this limit may be changed in the future. |
92
93### sendAnimation
94| Method | Path | Description |
95|--------|------|-------------|
96| POST | /sendAnimation | Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. Bots can currently send animation files of up to 50 MB in size, this limit may be changed in the future. |
97
98### sendVoice
99| Method | Path | Description |
100|--------|------|-------------|
101| POST | /sendVoice | Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message. For this to work, your audio must be in an .OGG file encoded with OPUS (other formats may be sent as [Audio](https://core.telegram.org/bots/api/#audio) or [Document](https://core.telegram.org/bots/api/#document)). On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. Bots can currently send voice messages of up to 50 MB in size, this limit may be changed in the future. |
102
103### sendVideoNote
104| Method | Path | Description |
105|--------|------|-------------|
106| POST | /sendVideoNote | As of [v.4.0](https://telegram.org/blog/video-messages-and-telescope), Telegram clients support rounded square mp4 videos of up to 1 minute long. Use this method to send video messages. On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. |
107
108### sendMediaGroup
109| Method | Path | Description |
110|--------|------|-------------|
111| POST | /sendMediaGroup | Use this method to send a group of photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an array of [Messages](https://core.telegram.org/bots/api/#message) that were sent is returned. |
112
113### sendLocation
114| Method | Path | Description |
115|--------|------|-------------|
116| POST | /sendLocation | Use this method to send point on the map. On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. |
117
118### editMessageLiveLocation
119| Method | Path | Description |
120|--------|------|-------------|
121| POST | /editMessageLiveLocation | Use this method to edit live location messages. A location can be edited until its *live\_period* expires or editing is explicitly disabled by a call to [stopMessageLiveLocation](https://core.telegram.org/bots/api/#stopmessagelivelocation). On success, if the edited message is not an inline message, the edited [Message](https://core.telegram.org/bots/api/#message) is returned, otherwise *True* is returned. |
122
123### stopMessageLiveLocation
124| Method | Path | Description |
125|--------|------|-------------|
126| POST | /stopMessageLiveLocation | Use this method to stop updating a live location message before *live\_period* expires. On success, if the message was sent by the bot, the sent [Message](https://core.telegram.org/bots/api/#message) is returned, otherwise *True* is returned. |
127
128### sendVenue
129| Method | Path | Description |
130|--------|------|-------------|
131| POST | /sendVenue | Use this method to send information about a venue. On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. |
132
133### sendContact
134| Method | Path | Description |
135|--------|------|-------------|
136| POST | /sendContact | Use this method to send phone contacts. On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. |
137
138### sendPoll
139| Method | Path | Description |
140|--------|------|-------------|
141| POST | /sendPoll | Use this method to send a native poll. On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. |
142
143### sendDice
144| Method | Path | Description |
145|--------|------|-------------|
146| POST | /sendDice | Use this method to send an animated emoji that will display a random value. On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. |
147
148### sendChatAction
149| Method | Path | Description |
150|--------|------|-------------|
151| POST | /sendChatAction | Use this method when you need to tell the user that something is happening on the bot's side. The status is set for 5 seconds or less (when a message arrives from your bot, Telegram clients clear its typing status). Returns *True* on success. |
152
153### getUserProfilePhotos
154| Method | Path | Description |
155|--------|------|-------------|
156| POST | /getUserProfilePhotos | Use this method to get a list of profile pictures for a user. Returns a [UserProfilePhotos](https://core.telegram.org/bots/api/#userprofilephotos) object. |
157
158### getFile
159| Method | Path | Description |
160|--------|------|-------------|
161| POST | /getFile | Use this method to get basic info about a file and prepare it for downloading. For the moment, bots can download files of up to 20MB in size. On success, a [File](https://core.telegram.org/bots/api/#file) object is returned. The file can then be downloaded via the link `https://api.telegram.org/file/bot<token>/<file_path>`, where `<file_path>` is taken from the response. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling [getFile](https://core.telegram.org/bots/api/#getfile) again. |
162
163### kickChatMember
164| Method | Path | Description |
165|--------|------|-------------|
166| POST | /kickChatMember | Use this method to kick a user from a group, a supergroup or a channel. In the case of supergroups and channels, the user will not be able to return to the group on their own using invite links, etc., unless [unbanned](https://core.telegram.org/bots/api/#unbanchatmember) first. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns *True* on success. |
167
168### unbanChatMember
169| Method | Path | Description |
170|--------|------|-------------|
171| POST | /unbanChatMember | Use this method to unban a previously kicked user in a supergroup or channel. The user will **not** return to the group or channel automatically, but will be able to join via link, etc. The bot must be an administrator for this to work. By default, this method guarantees that after the call the user is not a member of the chat, but will be able to join it. So if the user is a member of the chat they will also be **removed** from the chat. If you don't want this, use the parameter *only\_if\_banned*. Returns *True* on success. |
172
173### restrictChatMember
174| Method | Path | Description |
175|--------|------|-------------|
176| POST | /restrictChatMember | Use this method to restrict a user in a supergroup. The bot must be an administrator in the supergroup for this to work and must have the appropriate admin rights. Pass *True* for all permissions to lift restrictions from a user. Returns *True* on success. |
177
178### promoteChatMember
179| Method | Path | Description |
180|--------|------|-------------|
181| POST | /promoteChatMember | Use this method to promote or demote a user in a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Pass *False* for all boolean parameters to demote a user. Returns *True* on success. |
182
183### setChatAdministratorCustomTitle
184| Method | Path | Description |
185|--------|------|-------------|
186| POST | /setChatAdministratorCustomTitle | Use this method to set a custom title for an administrator in a supergroup promoted by the bot. Returns *True* on success. |
187
188### setChatPermissions
189| Method | Path | Description |
190|--------|------|-------------|
191| POST | /setChatPermissions | Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the *can\_restrict\_members* admin rights. Returns *True* on success. |
192
193### exportChatInviteLink
194| Method | Path | Description |
195|--------|------|-------------|
196| POST | /exportChatInviteLink | Use this method to generate a new invite link for a chat; any previously generated link is revoked. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns the new invite link as *String* on success. |
197
198### setChatPhoto
199| Method | Path | Description |
200|--------|------|-------------|
201| POST | /setChatPhoto | Use this method to set a new profile photo for the chat. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns *True* on success. |
202
203### deleteChatPhoto
204| Method | Path | Description |
205|--------|------|-------------|
206| POST | /deleteChatPhoto | Use this method to delete a chat photo. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns *True* on success. |
207
208### setChatTitle
209| Method | Path | Description |
210|--------|------|-------------|
211| POST | /setChatTitle | Use this method to change the title of a chat. Titles can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns *True* on success. |
212
213### setChatDescription
214| Method | Path | Description |
215|--------|------|-------------|
216| POST | /setChatDescription | Use this method to change the description of a group, a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns *True* on success. |
217
218### pinChatMessage
219| Method | Path | Description |
220|--------|------|-------------|
221| POST | /pinChatMessage | Use this method to add a message to the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the 'can\_pin\_messages' admin right in a supergroup or 'can\_edit\_messages' admin right in a channel. Returns *True* on success. |
222
223### unpinChatMessage
224| Method | Path | Description |
225|--------|------|-------------|
226| POST | /unpinChatMessage | Use this method to remove a message from the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the 'can\_pin\_messages' admin right in a supergroup or 'can\_edit\_messages' admin right in a channel. Returns *True* on success. |
227
228### unpinAllChatMessages
229| Method | Path | Description |
230|--------|------|-------------|
231| POST | /unpinAllChatMessages | Use this method to clear the list of pinned messages in a chat. If the chat is not a private chat, the bot must be an administrator in the chat for this to work and must have the 'can\_pin\_messages' admin right in a supergroup or 'can\_edit\_messages' admin right in a channel. Returns *True* on success. |
232
233### leaveChat
234| Method | Path | Description |
235|--------|------|-------------|
236| POST | /leaveChat | Use this method for your bot to leave a group, supergroup or channel. Returns *True* on success. |
237
238### getChat
239| Method | Path | Description |
240|--------|------|-------------|
241| POST | /getChat | Use this method to get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.). Returns a [Chat](https://core.telegram.org/bots/api/#chat) object on success. |
242
243### getChatAdministrators
244| Method | Path | Description |
245|--------|------|-------------|
246| POST | /getChatAdministrators | Use this method to get a list of administrators in a chat. On success, returns an Array of [ChatMember](https://core.telegram.org/bots/api/#chatmember) objects that contains information about all chat administrators except other bots. If the chat is a group or a supergroup and no administrators were appointed, only the creator will be returned. |
247
248### getChatMembersCount
249| Method | Path | Description |
250|--------|------|-------------|
251| POST | /getChatMembersCount | Use this method to get the number of members in a chat. Returns *Int* on success. |
252
253### getChatMember
254| Method | Path | Description |
255|--------|------|-------------|
256| POST | /getChatMember | Use this method to get information about a member of a chat. Returns a [ChatMember](https://core.telegram.org/bots/api/#chatmember) object on success. |
257
258### setChatStickerSet
259| Method | Path | Description |
260|--------|------|-------------|
261| POST | /setChatStickerSet | Use this method to set a new group sticker set for a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Use the field *can\_set\_sticker\_set* optionally returned in [getChat](https://core.telegram.org/bots/api/#getchat) requests to check if the bot can use this method. Returns *True* on success. |
262
263### deleteChatStickerSet
264| Method | Path | Description |
265|--------|------|-------------|
266| POST | /deleteChatStickerSet | Use this method to delete a group sticker set from a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Use the field *can\_set\_sticker\_set* optionally returned in [getChat](https://core.telegram.org/bots/api/#getchat) requests to check if the bot can use this method. Returns *True* on success. |
267
268### answerCallbackQuery
269| Method | Path | Description |
270|--------|------|-------------|
271| POST | /answerCallbackQuery | Use this method to send answers to callback queries sent from [inline keyboards](/bots#inline-keyboards-and-on-the-fly-updating). The answer will be displayed to the user as a notification at the top of the chat screen or as an alert. On success, *True* is returned. |
272
273### setMyCommands
274| Method | Path | Description |
275|--------|------|-------------|
276| POST | /setMyCommands | Use this method to change the list of the bot's commands. Returns *True* on success. |
277
278### getMyCommands
279| Method | Path | Description |
280|--------|------|-------------|
281| POST | /getMyCommands | Use this method to get the current list of the bot's commands. Requires no parameters. Returns Array of [BotCommand](https://core.telegram.org/bots/api/#botcommand) on success. |
282
283### editMessageText
284| Method | Path | Description |
285|--------|------|-------------|
286| POST | /editMessageText | Use this method to edit text and [game](https://core.telegram.org/bots/api/#games) messages. On success, if the edited message is not an inline message, the edited [Message](https://core.telegram.org/bots/api/#message) is returned, otherwise *True* is returned. |
287
288### editMessageCaption
289| Method | Path | Description |
290|--------|------|-------------|
291| POST | /editMessageCaption | Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited [Message](https://core.telegram.org/bots/api/#message) is returned, otherwise *True* is returned. |
292
293### editMessageMedia
294| Method | Path | Description |
295|--------|------|-------------|
296| POST | /editMessageMedia | Use this method to edit animation, audio, document, photo, or video messages. If a message is part of a message album, then it can be edited only to an audio for audio albums, only to a document for document albums and to a photo or a video otherwise. When an inline message is edited, a new file can't be uploaded. Use a previously uploaded file via its file\_id or specify a URL. On success, if the edited message was sent by the bot, the edited [Message](https://core.telegram.org/bots/api/#message) is returned, otherwise *True* is returned. |
297
298### editMessageReplyMarkup
299| Method | Path | Description |
300|--------|------|-------------|
301| POST | /editMessageReplyMarkup | Use this method to edit only the reply markup of messages. On success, if the edited message is not an inline message, the edited [Message](https://core.telegram.org/bots/api/#message) is returned, otherwise *True* is returned. |
302
303### stopPoll
304| Method | Path | Description |
305|--------|------|-------------|
306| POST | /stopPoll | Use this method to stop a poll which was sent by the bot. On success, the stopped [Poll](https://core.telegram.org/bots/api/#poll) with the final results is returned. |
307
308### deleteMessage
309| Method | Path | Description |
310|--------|------|-------------|
311| POST | /deleteMessage | Use this method to delete a message, including service messages, with the following limitations: |
312
313### sendSticker
314| Method | Path | Description |
315|--------|------|-------------|
316| POST | /sendSticker | Use this method to send static .WEBP or [animated](https://telegram.org/blog/animated-stickers) .TGS stickers. On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. |
317
318### getStickerSet
319| Method | Path | Description |
320|--------|------|-------------|
321| POST | /getStickerSet | Use this method to get a sticker set. On success, a [StickerSet](https://core.telegram.org/bots/api/#stickerset) object is returned. |
322
323### uploadStickerFile
324| Method | Path | Description |
325|--------|------|-------------|
326| POST | /uploadStickerFile | Use this method to upload a .PNG file with a sticker for later use in *createNewStickerSet* and *addStickerToSet* methods (can be used multiple times). Returns the uploaded [File](https://core.telegram.org/bots/api/#file) on success. |
327
328### createNewStickerSet
329| Method | Path | Description |
330|--------|------|-------------|
331| POST | /createNewStickerSet | Use this method to create a new sticker set owned by a user. The bot will be able to edit the sticker set thus created. You **must** use exactly one of the fields *png\_sticker* or *tgs\_sticker*. Returns *True* on success. |
332
333### addStickerToSet
334| Method | Path | Description |
335|--------|------|-------------|
336| POST | /addStickerToSet | Use this method to add a new sticker to a set created by the bot. You **must** use exactly one of the fields *png\_sticker* or *tgs\_sticker*. Animated stickers can be added to animated sticker sets and only to them. Animated sticker sets can have up to 50 stickers. Static sticker sets can have up to 120 stickers. Returns *True* on success. |
337
338### setStickerPositionInSet
339| Method | Path | Description |
340|--------|------|-------------|
341| POST | /setStickerPositionInSet | Use this method to move a sticker in a set created by the bot to a specific position. Returns *True* on success. |
342
343### deleteStickerFromSet
344| Method | Path | Description |
345|--------|------|-------------|
346| POST | /deleteStickerFromSet | Use this method to delete a sticker from a set created by the bot. Returns *True* on success. |
347
348### setStickerSetThumb
349| Method | Path | Description |
350|--------|------|-------------|
351| POST | /setStickerSetThumb | Use this method to set the thumbnail of a sticker set. Animated thumbnails can be set for animated sticker sets only. Returns *True* on success. |
352
353### answerInlineQuery
354| Method | Path | Description |
355|--------|------|-------------|
356| POST | /answerInlineQuery | Use this method to send answers to an inline query. On success, *True* is returned. |
357
358### sendInvoice
359| Method | Path | Description |
360|--------|------|-------------|
361| POST | /sendInvoice | Use this method to send invoices. On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. |
362
363### answerShippingQuery
364| Method | Path | Description |
365|--------|------|-------------|
366| POST | /answerShippingQuery | If you sent an invoice requesting a shipping address and the parameter *is\_flexible* was specified, the Bot API will send an [Update](https://core.telegram.org/bots/api/#update) with a *shipping\_query* field to the bot. Use this method to reply to shipping queries. On success, True is returned. |
367
368### answerPreCheckoutQuery
369| Method | Path | Description |
370|--------|------|-------------|
371| POST | /answerPreCheckoutQuery | Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an [Update](https://core.telegram.org/bots/api/#update) with the field *pre\_checkout\_query*. Use this method to respond to such pre-checkout queries. On success, True is returned. **Note:** The Bot API must receive an answer within 10 seconds after the pre-checkout query was sent. |
372
373### setPassportDataErrors
374| Method | Path | Description |
375|--------|------|-------------|
376| POST | /setPassportDataErrors | Informs a user that some of the Telegram Passport elements they provided contains errors. The user will not be able to re-submit their Passport to you until the errors are fixed (the contents of the field for which you returned the error must change). Returns *True* on success. |
377
378### sendGame
379| Method | Path | Description |
380|--------|------|-------------|
381| POST | /sendGame | Use this method to send a game. On success, the sent [Message](https://core.telegram.org/bots/api/#message) is returned. |
382
383### setGameScore
384| Method | Path | Description |
385|--------|------|-------------|
386| POST | /setGameScore | Use this method to set the score of the specified user in a game. On success, if the message was sent by the bot, returns the edited [Message](https://core.telegram.org/bots/api/#message), otherwise returns *True*. Returns an error, if the new score is not greater than the user's current score in the chat and *force* is *False*. |
387
388### getGameHighScores
389| Method | Path | Description |
390|--------|------|-------------|
391| POST | /getGameHighScores | Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. On success, returns an *Array* of [GameHighScore](https://core.telegram.org/bots/api/#gamehighscore) objects. |
392
393## Common Questions
394
395Match user requests to endpoints in references/api-spec.lap. Key patterns:
396- "Create a getUpdate?" -> POST /getUpdates
397- "Create a setWebhook?" -> POST /setWebhook
398- "Create a deleteWebhook?" -> POST /deleteWebhook
399- "Create a getWebhookInfo?" -> POST /getWebhookInfo
400- "Create a getMe?" -> POST /getMe
401- "Create a logOut?" -> POST /logOut
402- "Create a close?" -> POST /close
403- "Create a sendMessage?" -> POST /sendMessage
404- "Create a forwardMessage?" -> POST /forwardMessage
405- "Create a copyMessage?" -> POST /copyMessage
406- "Create a sendPhoto?" -> POST /sendPhoto
407- "Create a sendAudio?" -> POST /sendAudio
408- "Create a sendDocument?" -> POST /sendDocument
409- "Create a sendVideo?" -> POST /sendVideo
410- "Create a sendAnimation?" -> POST /sendAnimation
411- "Create a sendVoice?" -> POST /sendVoice
412- "Create a sendVideoNote?" -> POST /sendVideoNote
413- "Create a sendMediaGroup?" -> POST /sendMediaGroup
414- "Create a sendLocation?" -> POST /sendLocation
415- "Create a editMessageLiveLocation?" -> POST /editMessageLiveLocation
416- "Create a stopMessageLiveLocation?" -> POST /stopMessageLiveLocation
417- "Create a sendVenue?" -> POST /sendVenue
418- "Create a sendContact?" -> POST /sendContact
419- "Create a sendPoll?" -> POST /sendPoll
420- "Create a sendDice?" -> POST /sendDice
421- "Create a sendChatAction?" -> POST /sendChatAction
422- "Create a getUserProfilePhoto?" -> POST /getUserProfilePhotos
423- "Create a getFile?" -> POST /getFile
424- "Create a kickChatMember?" -> POST /kickChatMember
425- "Create a unbanChatMember?" -> POST /unbanChatMember
426- "Create a restrictChatMember?" -> POST /restrictChatMember
427- "Create a promoteChatMember?" -> POST /promoteChatMember
428- "Create a setChatAdministratorCustomTitle?" -> POST /setChatAdministratorCustomTitle
429- "Create a setChatPermission?" -> POST /setChatPermissions
430- "Create a exportChatInviteLink?" -> POST /exportChatInviteLink
431- "Create a setChatPhoto?" -> POST /setChatPhoto
432- "Create a deleteChatPhoto?" -> POST /deleteChatPhoto
433- "Create a setChatTitle?" -> POST /setChatTitle
434- "Create a setChatDescription?" -> POST /setChatDescription
435- "Create a pinChatMessage?" -> POST /pinChatMessage
436- "Create a unpinChatMessage?" -> POST /unpinChatMessage
437- "Create a unpinAllChatMessage?" -> POST /unpinAllChatMessages
438- "Create a leaveChat?" -> POST /leaveChat
439- "Create a getChat?" -> POST /getChat
440- "Create a getChatAdministrator?" -> POST /getChatAdministrators
441- "Create a getChatMembersCount?" -> POST /getChatMembersCount
442- "Create a getChatMember?" -> POST /getChatMember
443- "Create a setChatStickerSet?" -> POST /setChatStickerSet
444- "Create a deleteChatStickerSet?" -> POST /deleteChatStickerSet
445- "Create a answerCallbackQuery?" -> POST /answerCallbackQuery
446- "Create a setMyCommand?" -> POST /setMyCommands
447- "Create a getMyCommand?" -> POST /getMyCommands
448- "Create a editMessageText?" -> POST /editMessageText
449- "Create a editMessageCaption?" -> POST /editMessageCaption
450- "Create a editMessageMedia?" -> POST /editMessageMedia
451- "Create a editMessageReplyMarkup?" -> POST /editMessageReplyMarkup
452- "Create a stopPoll?" -> POST /stopPoll
453- "Create a deleteMessage?" -> POST /deleteMessage
454- "Create a sendSticker?" -> POST /sendSticker
455- "Create a getStickerSet?" -> POST /getStickerSet
456- "Create a uploadStickerFile?" -> POST /uploadStickerFile
457- "Create a createNewStickerSet?" -> POST /createNewStickerSet
458- "Create a addStickerToSet?" -> POST /addStickerToSet
459- "Create a setStickerPositionInSet?" -> POST /setStickerPositionInSet
460- "Create a deleteStickerFromSet?" -> POST /deleteStickerFromSet
461- "Create a setStickerSetThumb?" -> POST /setStickerSetThumb
462- "Create a answerInlineQuery?" -> POST /answerInlineQuery
463- "Create a sendInvoice?" -> POST /sendInvoice
464- "Create a answerShippingQuery?" -> POST /answerShippingQuery
465- "Create a answerPreCheckoutQuery?" -> POST /answerPreCheckoutQuery
466- "Create a setPassportDataError?" -> POST /setPassportDataErrors
467- "Create a sendGame?" -> POST /sendGame
468- "Create a setGameScore?" -> POST /setGameScore
469- "Create a getGameHighScore?" -> POST /getGameHighScores
470
471## Response Tips
472- Check response schemas in references/api-spec.lap for field details
473- List endpoints may support pagination; check for limit, offset, or cursor params
474- Create/update endpoints typically return the created/updated object
475
476## References
477- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas
478
479> Generated from the official API spec by [LAP](https://lap.sh)