Telegram Request
Types
Use this method to send answers to callback queries sent from inline keyboards.
Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an Update with the field pre_checkout_query.
If you sent an invoice requesting a shipping address and the parameter is_flexible was specified, the Bot API will send an Update with a shipping_query field to the bot.
Use this method to delete a message, including service messages, with the following limitations:
- A message can only be deleted if it was sent less than 48 hours ago.
- A dice message in a private chat can only be deleted if it was sent more than 24 hours ago.
- Bots can delete outgoing messages in private chats, groups, and supergroups.
- Bots can delete incoming messages in private chats.
- Bots granted can_post_messages permissions can delete outgoing messages in channels.
- If the bot is an administrator of a group, it can delete any message there.
- If the bot has can_delete_messages permission in a supergroup or a channel, it can delete any message there.
Returns True on success.
Use this method to remove webhook integration if you decide to switch back to getUpdates.
Use this method to edit text and game messages.
Use this method to receive incoming updates using long polling (wiki).
Use this method to send static .WEBP or animated .TGS stickers.
As of v.4.0, Telegram clients support rounded square mp4 videos of up to 1 minute long.
Use this method to send video files, Telegram clients support mp4 videos (other formats may be sent as Document).