| Modifier and Type | Method and Description |
|---|---|
Message |
TelegramBot.editMessageCaption(Message oldMessage,
String caption,
InlineReplyMarkup inlineReplyMarkup)
This allows you to edit the caption of any captionable message you have sent previously
|
Message |
TelegramBot.editMessageCaption(String chatId,
Long messageId,
String caption,
InlineReplyMarkup inlineReplyMarkup)
This allows you to edit the caption of any captionable message you have sent previously
|
Message |
TelegramBot.editMessageReplyMarkup(Message oldMessage,
InlineReplyMarkup inlineReplyMarkup)
This allows you to edit the InlineReplyMarkup of any message that you have sent previously.
|
Message |
TelegramBot.editMessageReplyMarkup(String chatId,
Long messageId,
InlineReplyMarkup inlineReplyMarkup)
This allows you to edit the InlineReplyMarkup of any message that you have sent previously.
|
Message |
TelegramBot.editMessageText(Message oldMessage,
String text,
ParseMode parseMode,
boolean disableWebPagePreview,
InlineReplyMarkup inlineReplyMarkup)
This allows you to edit the text of a message you have already sent previously
|
Message |
TelegramBot.editMessageText(String chatId,
Long messageId,
String text,
ParseMode parseMode,
boolean disableWebPagePreview,
InlineReplyMarkup inlineReplyMarkup)
This allows you to edit the text of a message you have already sent previously
|
Message |
TelegramBot.sendMessage(Chat chat,
SendableMessage message)
This will send the provided SendableMessage object to the Chat that the Chat object represents
|
| Modifier and Type | Method and Description |
|---|---|
Message |
TelegramBot.editMessageCaption(Message oldMessage,
String caption,
InlineReplyMarkup inlineReplyMarkup)
This allows you to edit the caption of any captionable message you have sent previously
|
Message |
TelegramBot.editMessageReplyMarkup(Message oldMessage,
InlineReplyMarkup inlineReplyMarkup)
This allows you to edit the InlineReplyMarkup of any message that you have sent previously.
|
Message |
TelegramBot.editMessageText(Message oldMessage,
String text,
ParseMode parseMode,
boolean disableWebPagePreview,
InlineReplyMarkup inlineReplyMarkup)
This allows you to edit the text of a message you have already sent previously
|
| Modifier and Type | Method and Description |
|---|---|
Message |
Chat.sendMessage(SendableMessage message)
Send any type of SendableMessage to this Chat
|
default Message |
Chat.sendMessage(String message)
Send a String message to this Chat
|
| Modifier and Type | Method and Description |
|---|---|
EditableGameScore.EditableGameScoreBuilder |
EditableGameScore.EditableGameScoreBuilder.message(Message message) |
| Modifier and Type | Method and Description |
|---|---|
default Message |
Message.forwardMessage(Chat chat)
A simple method which allows you to forward this Message to another chat simply by providing a Chat object
|
Message |
MessageCallbackQuery.getMessage()
Gets the Message object associated with the MessageCallbackQuery
|
Message |
GameMessageCallbackQuery.getMessage()
Gets the Message object associated with the GameMessageCallbackQuery
|
Message |
Message.getRepliedTo()
Gets the message that this message replied to
|
| Modifier and Type | Method and Description |
|---|---|
Message |
PinnedMessageContent.getContent()
Gets the Message object relating to this PinnedMessageContent object
|
| Modifier and Type | Method and Description |
|---|---|
SendableForwardMessage.SendableForwardMessageBuilder |
SendableForwardMessage.SendableForwardMessageBuilder.forwardedMessage(Message forwardedMessage)
*Required unless using
SendableForwardMessage.SendableForwardMessageBuilder.messageID(Long) and SendableForwardMessage.SendableForwardMessageBuilder.chatID(String)*
Sets the Message object that relates to the message you want to forward |
SendableVoiceMessage.SendableVoiceMessageBuilder |
SendableVoiceMessage.SendableVoiceMessageBuilder.replyTo(Message replyTo)
*Optional*
Sets the Message object that you want to reply to
|
SendableStickerMessage.SendableStickerMessageBuilder |
SendableStickerMessage.SendableStickerMessageBuilder.replyTo(Message replyTo)
*Optional*
Sets the Message object that you want to reply to
|
SendablePhotoMessage.SendablePhotoMessageBuilder |
SendablePhotoMessage.SendablePhotoMessageBuilder.replyTo(Message replyTo)
*Optional*
Sets the Message object that you want to reply to
|
SendableVideoMessage.SendableVideoMessageBuilder |
SendableVideoMessage.SendableVideoMessageBuilder.replyTo(Message replyTo)
*Optional*
Sets the Message object that you want to reply to
|
SendableDocumentMessage.SendableDocumentMessageBuilder |
SendableDocumentMessage.SendableDocumentMessageBuilder.replyTo(Message replyTo)
*Optional*
Sets the Message object that you want to reply to
|
SendableVenueMessage.SendableVenueMessageBuilder |
SendableVenueMessage.SendableVenueMessageBuilder.replyTo(Message replyTo)
*Optional*
Sets the Message object that you want to reply to
|
SendableTextMessage.SendableTextMessageBuilder |
SendableTextMessage.SendableTextMessageBuilder.replyTo(Message replyTo)
*Optional*
Sets the Message object that you want to reply to
|
SendableGameMessage.SendableGameMessageBuilder |
SendableGameMessage.SendableGameMessageBuilder.replyTo(Message replyTo)
*Optional*
Sets the Message object that you want to reply to
|
SendableLocationMessage.SendableLocationMessageBuilder |
SendableLocationMessage.SendableLocationMessageBuilder.replyTo(Message replyTo)
*Optional*
Sets the Message object that you want to reply to
|
SendableAudioMessage.SendableAudioMessageBuilder |
SendableAudioMessage.SendableAudioMessageBuilder.replyTo(Message replyTo)
*Optional*
Sets the Message object that you want to reply to
|
| Constructor and Description |
|---|
ChannelChatCreatedEvent(Message message) |
DeleteGroupChatPhotoEvent(Message message) |
GroupChatCreatedEvent(Message message) |
MigrateFromChatEvent(Message message) |
MigrateToChatEvent(Message message) |
NewGroupChatPhotoEvent(Message message) |
NewGroupChatTitleEvent(Message message) |
ParticipantJoinGroupChatEvent(Message message) |
ParticipantLeaveGroupChatEvent(Message message) |
SuperGroupChatCreatedEvent(Message message) |
| Modifier and Type | Method and Description |
|---|---|
Message |
MessageEvent.getMessage()
Gets the Message that was received from the Telegram Bot API that triggered this Event
|
| Constructor and Description |
|---|
AudioMessageReceivedEvent(Message message) |
CommandMessageReceivedEvent(Message message) |
ContactMessageReceivedEvent(Message message) |
DocumentMessageReceivedEvent(Message message) |
LocationMessageReceivedEvent(Message message) |
MessageEditReceivedEvent(Message message) |
MessageReceivedEvent(Message message) |
PhotoMessageReceivedEvent(Message message) |
StickerMessageReceivedEvent(Message message) |
TextMessageReceivedEvent(Message message) |
VideoMessageReceivedEvent(Message message) |
VoiceMessageReceivedEvent(Message message) |
| Modifier and Type | Method and Description |
|---|---|
Message |
GameScoreEditResponse.getMessage()
Will only be populated if getResponse() is true, and the message being edited wasn't inline and was sent by
the bot
|
| Modifier and Type | Method and Description |
|---|---|
Message |
ChannelChatImpl.sendMessage(SendableMessage message) |
Message |
SuperGroupChatImpl.sendMessage(SendableMessage message) |
Message |
GroupChatImpl.sendMessage(SendableMessage message) |
Message |
IndividualChatImpl.sendMessage(SendableMessage message) |
| Modifier and Type | Method and Description |
|---|---|
Message |
GameScoreEditResponseImpl.getMessage() |
| Modifier and Type | Class and Description |
|---|---|
class |
MessageImpl |
| Modifier and Type | Method and Description |
|---|---|
static Message |
MessageImpl.createMessage(org.json.JSONObject jsonObject,
TelegramBot telegramBot) |
Message |
GameMessageMessageCallbackQueryImpl.getMessage() |
Message |
MessageCallbackQueryImpl.getMessage() |
Message |
MessageImpl.getRepliedTo()
Gets the message that this message replied to
|
| Modifier and Type | Method and Description |
|---|---|
Message |
PinnedMessageContentImpl.getContent() |
| Modifier and Type | Method and Description |
|---|---|
Message |
UpdateImpl.getChannelPost() |
Message |
UpdateImpl.getEditedChannelPost() |
Message |
UpdateImpl.getEditedMessage() |
Message |
UpdateImpl.getMessage() |
| Modifier and Type | Method and Description |
|---|---|
Message |
Update.getChannelPost()
Gets the Channel Message that this Update contains
|
Message |
Update.getEditedChannelPost()
Gets the Edited Channel Message that this Update contains.
|
Message |
Update.getEditedMessage()
Gets the Edited Message that this Update contains.
|
Message |
Update.getMessage()
Gets the Message that this Update contains.
|
Copyright © 2017. All rights reserved.