Uses of Class
com.cadiducho.telegrambotapi.ParseMode
-
Packages that use ParseMode Package Description com.cadiducho.telegrambotapi com.cadiducho.telegrambotapi.inline -
-
Uses of ParseMode in com.cadiducho.telegrambotapi
Fields in com.cadiducho.telegrambotapi declared as ParseMode Modifier and Type Field Description protected ParseMode
InputMedia. parseMode
Optional.Methods in com.cadiducho.telegrambotapi that return ParseMode Modifier and Type Method Description static ParseMode
ParseMode. valueOf(String name)
Returns the enum constant of this type with the specified name.static ParseMode[]
ParseMode. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.cadiducho.telegrambotapi with parameters of type ParseMode Modifier and Type Method Description 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. 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. 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).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)
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)
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 asDocument
).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)
Constructors in com.cadiducho.telegrambotapi with parameters of type ParseMode Constructor Description InputMediaAnimation(String media, String caption, ParseMode parseMode)
InputMediaAudio(String media, Object thumb, String caption, ParseMode parseMode, Integer duration, String performer, String title)
InputMediaDocument(String media, Object thumb, String caption, ParseMode parseMode)
InputMediaPhoto(String media, String caption, ParseMode parseMode)
InputMediaVideo(String media, Object thumb, String caption, ParseMode parseMode, Integer width, Integer height, Integer duration, Boolean supportsStreaming)
-
Uses of ParseMode in com.cadiducho.telegrambotapi.inline
Constructors in com.cadiducho.telegrambotapi.inline with parameters of type ParseMode Constructor Description InlineQueryResultArticle(String title, String messageText, ParseMode parseMode, Boolean disableWebPagePreview, String url, Boolean hideUrl, String description, String thumbUrl, Integer thumbWidth, Integer thumbHeight, InlineKeyboardMarkup replyMarkup, InputMessageContent inputMessageContent)
InlineQueryResultGif(String gifUrl, Integer gifWidth, Integer gifHeight, String thumbUrl, String title, String caption, ParseMode parseMode, InlineKeyboardMarkup replyMarkup, InputMessageContent inputMessageContent)
InlineQueryResultMpeg4Gif(String mpeg4Url, String thumbUrl, Integer mpeg4Width, Integer mpeg4Height, String title, String caption, ParseMode parseMode, InlineKeyboardMarkup replyMarkup, InputMessageContent inputMessageContent)
InlineQueryResultVideo(String videoUrl, String mimeType, String messageText, ParseMode parseMode, Boolean disableWebPagePreview, Integer videoWidth, Integer videoHeight, Integer videoDuration, String thumbUrl, String title, String description, InlineKeyboardMarkup replyMarkup, InputMessageContent inputMessageContent)
-