Module telegram_types::bot::methods [−][src]
Request parameters types of Telegram bot methods.
Structs
DeleteMessage |
Use this method to delete a message, including service messages, with the following limitations: |
EditMessageCaption |
Use this method to edit captions of messages sent by the bot or via the bot (for inline bots).
On success, if edited message is sent by the bot, the edited [ |
EditMessageReplyMarkup |
Use this method to edit only the reply markup of messages sent by the bot or via the bot (for
inline bots). On success, if edited message is sent by the bot, the edited [ |
EditMessageText |
Use this method to edit text and game messages sent by the bot or via the bot (for inline bots).
On success, if edited message is sent by the bot, the edited [ |
ForwardMessage |
Use this method to forward messages of any kind. On success, the sent |
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.). |
GetChatAdministrators |
Use this method to get a list of administrators in a chat. On success, returns an Array
of |
GetChatMember |
Use this method to get information about a member of a chat. Returns a |
GetChatMembersCount |
Use this method to get the number of members in a chat. Returns |
GetUpdates |
Use this method to receive incoming updates using long
polling (wiki).
An Array of [ |
GetUserProfilePhotos |
To get a list of profile pictures for a user. Returns a |
SendMessage |
Send text messages. On success, the sent |
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 [ |
Enums
ChatTarget |
Chat integer identifier or username |
ReplyMarkup |
Kinds of reply markup. |