Message |
BotAPI.editMessageCaption(Object chat_id,
Integer message_id,
String inline_message_id,
String caption,
ParseMode parseMode,
InlineKeyboardMarkup reply_markup) |
Use this method to edit captions of messages sent by the bot or via the bot (for inline bots).
|
Message |
TelegramBot.editMessageCaption(Object chat_id,
Integer message_id,
String inline_message_id,
String caption,
ParseMode parse_mode,
InlineKeyboardMarkup reply_markup) |
|
Message |
BotAPI.editMessageMedia(Object chat_id,
Integer message_id,
String inline_message_id,
InputMedia media,
InlineKeyboardMarkup reply_markup) |
Use this method to edit audio, document, photo, or video messages.
|
Message |
TelegramBot.editMessageMedia(Object chat_id,
Integer message_id,
String inline_message_id,
InputMedia media,
InlineKeyboardMarkup reply_markup) |
|
Message |
BotAPI.editMessageReplyMarkup(Object chat_id,
Integer message_id,
String inline_message_id,
InlineKeyboardMarkup reply_markup) |
Use this method to edit only the reply markup of messages sent by the bot or via the bot (for inline bots).
|
Message |
TelegramBot.editMessageReplyMarkup(Object chat_id,
Integer message_id,
String inline_message_id,
InlineKeyboardMarkup reply_markup) |
|
Message |
BotAPI.editMessageText(Object chat_id,
Integer message_id,
String inline_message_id,
String text,
ParseMode parse_mode,
Boolean disable_web_page_preview,
InlineKeyboardMarkup reply_markup) |
Use this method to edit text and game messages sent by the bot or via the bot (for inline bots).
|
Message |
TelegramBot.editMessageText(Object chat_id,
Integer message_id,
String inline_message_id,
String text,
ParseMode parse_mode,
Boolean disable_web_page_preview,
InlineKeyboardMarkup reply_markup) |
|
Message |
BotAPI.forwardMessage(Object chat_id,
Integer from_chat_id,
Boolean disable_notification,
Integer message_id) |
Use this method to forward messages of any kind.
|
default Message |
BotAPI.forwardMessage(Object chat_id,
Integer from_chat_id,
Integer message_id) |
Use this method to forward messages of any kind.
|
Message |
TelegramBot.forwardMessage(Object chat_id,
Integer from_chat_id,
Boolean disable_notification,
Integer message_id) |
|
default Message |
BotAPI.sendAnimation(Object chat_id,
File animation) |
Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound).
|
Message |
BotAPI.sendAnimation(Object chat_id,
Object animation,
Integer duration,
Integer width,
Integer height,
Object thumb,
String caption,
ParseMode parse_mode,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound).
|
default Message |
BotAPI.sendAnimation(Object chat_id,
String animation) |
Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound).
|
Message |
TelegramBot.sendAnimation(Object chat_id,
Object animation,
Integer duration,
Integer width,
Integer height,
Object thumb,
String caption,
ParseMode parse_mode,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
|
default Message |
BotAPI.sendAudio(Object chat_id,
File audio) |
Use this method to send audio files, if you want Telegram clients to display them in the music player.
|
Message |
BotAPI.sendAudio(Object chat_id,
Object audio,
String caption,
Integer duration,
String performer,
String title,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
Use this method to send audio files, if you want Telegram clients to display them in the music player.
|
default Message |
BotAPI.sendAudio(Object chat_id,
String audio) |
Use this method to send audio files, if you want Telegram clients to display them in the music player.
|
Message |
TelegramBot.sendAudio(Object chat_id,
Object audio,
String caption,
Integer duration,
String performer,
String title,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
|
default Message |
BotAPI.sendContact(Object chat_id,
String phone_number,
String first_name) |
Use this method to send phone contacts.
|
Message |
BotAPI.sendContact(Object chat_id,
String phone_number,
String first_name,
String last_name,
String vcard,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
Use this method to send phone contacts.
|
Message |
TelegramBot.sendContact(Object chat_id,
String phone_number,
String first_name,
String last_name,
String vcard,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
|
Message |
BotAPI.sendDice(Object chat_id,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
Use this method to send a dice, which will have a random value from 1 to 6.
|
Message |
TelegramBot.sendDice(Object chat_id,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
|
default Message |
BotAPI.sendDocument(Object chat_id,
File document) |
Use this method to send general files.
|
Message |
BotAPI.sendDocument(Object chat_id,
Object document,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
Use this method to send general files.
|
default Message |
BotAPI.sendDocument(Object chat_id,
String document) |
Use this method to send general files.
|
Message |
TelegramBot.sendDocument(Object chat_id,
Object document,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
|
default Message |
BotAPI.sendGame(Object chat_id,
String game_short_name) |
Use this method to send a game.
|
Message |
BotAPI.sendGame(Object chat_id,
String game_short_name,
Boolean disable_notification,
Integer reply_to_message_id,
InlineKeyboardMarkup reply_markup) |
Use this method to send a game.
|
Message |
TelegramBot.sendGame(Object chat_id,
String game_short_name,
Boolean disable_notification,
Integer reply_to_message_id,
InlineKeyboardMarkup reply_markup) |
|
default Message |
BotAPI.sendInvoice(Integer chat_id,
String title,
String description,
String payload,
String provider_token,
String start_parameter,
String currency,
List<LabeledPrice> prices) |
Use this method to send invoices.
|
Message |
BotAPI.sendInvoice(Integer chat_id,
String title,
String description,
String payload,
String provider_token,
String start_parameter,
String currency,
List<LabeledPrice> prices,
String provider_data,
String photo_url,
Integer photo_size,
Integer photo_width,
Integer photo_height,
Boolean need_name,
Boolean need_phone_number,
Boolean need_email,
Boolean need_shipping_address,
Boolean send_phone_number_to_provider,
Boolean send_email_to_provider,
Boolean is_flexible,
Boolean disable_notification,
Integer reply_to_message_id,
InlineKeyboardMarkup reply_markup) |
Use this method to send invoices.
|
Message |
TelegramBot.sendInvoice(Integer chat_id,
String title,
String description,
String payload,
String provider_token,
String start_parameter,
String currency,
List<LabeledPrice> prices,
String provider_data,
String photo_url,
Integer photo_size,
Integer photo_width,
Integer photo_height,
Boolean need_name,
Boolean need_phone_number,
Boolean need_email,
Boolean need_shipping_address,
Boolean send_phone_number_to_provider,
Boolean send_email_to_provider,
Boolean is_flexible,
Boolean disable_notification,
Integer reply_to_message_id,
InlineKeyboardMarkup reply_markup) |
|
default Message |
BotAPI.sendLocation(Object chat_id,
Float latitude,
Float longitude) |
Use this method to send point on the map.
|
Message |
BotAPI.sendLocation(Object chat_id,
Float latitude,
Float longitude,
Integer live_period,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
Use this method to send point on the map.
|
Message |
TelegramBot.sendLocation(Object chat_id,
Float latitude,
Float longitude,
Integer live_period,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
|
default Message |
BotAPI.sendMediaGroup(Object chat_id,
List<InputMedia> media) |
Use this method to send a group of photos or videos as an album.
|
Message |
BotAPI.sendMediaGroup(Object chat_id,
List<InputMedia> media,
Boolean disable_notification,
Integer reply_to_message_id) |
Use this method to send a group of photos or videos as an album.
|
Message |
TelegramBot.sendMediaGroup(Object chat_id,
List<InputMedia> media,
Boolean disable_notification,
Integer reply_to_message_id) |
|
default Message |
BotAPI.sendMessage(Object chat_id,
String text) |
Use this method to send text messages.
|
Message |
BotAPI.sendMessage(Object chat_id,
String text,
ParseMode parse_mode,
Boolean disable_notification,
Boolean disable_web_page_preview,
Integer reply_to_message_id,
Object reply_markup) |
Use this method to send text messages.
|
Message |
TelegramBot.sendMessage(Object chat_id,
String text,
ParseMode parse_mode,
Boolean disable_web_page_preview,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
|
default Message |
BotAPI.sendPhoto(Object chat_id,
File photo) |
Use this method to send photos.
|
Message |
BotAPI.sendPhoto(Object chat_id,
Object photo,
String caption,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
Use this method to send photos.
|
default Message |
BotAPI.sendPhoto(Object chat_id,
String photo) |
Use this method to send photos.
|
Message |
TelegramBot.sendPhoto(Object chat_id,
Object photo,
String caption,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
|
default Message |
BotAPI.sendPoll(Object chat_id,
String question,
List<String> options) |
Use this method to send a native poll.
|
Message |
BotAPI.sendPoll(Object chat_id,
String question,
List<String> options,
Boolean is_anonymous,
String type,
Boolean allows_multiple_answers,
Integer correct_option_id,
Boolean is_closed,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
Use this method to send a native poll.
|
Message |
TelegramBot.sendPoll(Object chat_id,
String question,
List<String> options,
Boolean is_anonymous,
String type,
Boolean allows_multiple_answers,
Integer correct_option_id,
Boolean is_closed,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
|
default Message |
BotAPI.sendSticker(Object chat_id,
File sticker) |
Use this method to send static .WEBP or animated .TGS stickers.
|
Message |
BotAPI.sendSticker(Object chat_id,
Object sticker,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
Use this method to send static .WEBP or animated .TGS stickers.
|
default Message |
BotAPI.sendSticker(Object chat_id,
String sticker) |
Use this method to send static .WEBP or animated .TGS stickers.
|
Message |
TelegramBot.sendSticker(Object chat_id,
Object sticker,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
|
default Message |
BotAPI.sendVenue(Object chat_id,
Float latitude,
Float longitude,
String title,
String address) |
Use this method to send information about a venue.
|
Message |
BotAPI.sendVenue(Object chat_id,
Float latitude,
Float longitude,
String title,
String address,
String foursquare_id,
String foursquare_type,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
Use this method to send information about a venue.
|
Message |
TelegramBot.sendVenue(Object chat_id,
Float latitude,
Float longitude,
String title,
String address,
String foursquare_id,
String foursquare_type,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
|
default Message |
BotAPI.sendVideo(Object chat_id,
File video) |
Use this method to send video files, Telegram clients support mp4 videos (other formats may be sent as Document ).
|
Message |
BotAPI.sendVideo(Object chat_id,
Object video,
Integer duration,
Integer width,
Integer height,
String caption,
ParseMode parse_mode,
Boolean supports_streaming,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
Use this method to send video files, Telegram clients support mp4 videos (other formats may be sent as Document ).
|
default Message |
BotAPI.sendVideo(Object chat_id,
String video) |
Use this method to send video files, Telegram clients support mp4 videos (other formats may be sent as Document ).
|
Message |
TelegramBot.sendVideo(Object chat_id,
Object video,
Integer duration,
Integer width,
Integer height,
String caption,
ParseMode parse_mode,
Boolean supports_streaming,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
|
default Message |
BotAPI.sendVideoNote(Object chat_id,
File video_note) |
As of v.4.0, Telegram clients support rounded square mp4 videos of up to 1 minute long.
|
Message |
BotAPI.sendVideoNote(Object chat_id,
Object video_note,
Integer duration,
Integer length,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
As of v.4.0, Telegram clients support rounded square mp4 videos of up to 1 minute long.
|
default Message |
BotAPI.sendVideoNote(Object chat_id,
String video_note) |
As of v.4.0, Telegram clients support rounded square mp4 videos of up to 1 minute long.
|
Message |
TelegramBot.sendVideoNote(Object chat_id,
Object video_note,
Integer duration,
Integer length,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
|
default Message |
BotAPI.sendVoice(Object chat_id,
File voice) |
Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message.
|
Message |
BotAPI.sendVoice(Object chat_id,
Object voice,
String caption,
Integer duration,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message.
|
default Message |
BotAPI.sendVoice(Object chat_id,
String voice) |
Use this method to send audio files, if you want Telegram clients to display the file as a playable voice message.
|
Message |
TelegramBot.sendVoice(Object chat_id,
Object voice,
String caption,
Integer duration,
Boolean disable_notification,
Integer reply_to_message_id,
Object reply_markup) |
|
Message |
TelegramBot.setGameScore(Integer user_id,
Integer score,
Boolean force,
Boolean disable_edit_message,
Object chat_id,
Integer message_id,
String inline_message_id) |
|