Serialized Form
-
Package org.telegram.telegrambots.meta.api.interfaces
-
Package org.telegram.telegrambots.meta.api.objects
-
Class org.telegram.telegrambots.meta.api.objects.ApiResponse extends Object implements Serializable
-
Serialized Fields
-
errorCode
Integer errorCode
-
errorDescription
String errorDescription
-
ok
Boolean ok
-
parameters
ResponseParameters parameters
-
result
T result
-
-
-
Class org.telegram.telegrambots.meta.api.objects.Audio extends Object implements Serializable
-
Serialized Fields
-
duration
Integer duration
-
fileId
String fileId
-
fileSize
Integer fileSize
-
fileUniqueId
String fileUniqueId
Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file. -
mimeType
String mimeType
-
performer
String performer
-
thumb
PhotoSize thumb
-
title
String title
-
-
-
Class org.telegram.telegrambots.meta.api.objects.CallbackQuery extends Object implements Serializable
-
Serialized Fields
-
chatInstance
String chatInstance
Identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games. -
data
String data
Optional. Data associated with the callback button. -
from
User from
-
gameShortName
String gameShortName
Optional. Short name of a Game to be returned, serves as the unique identifier for the game -
id
String id
-
inlineMessageId
String inlineMessageId
-
message
Message message
Optional. Message with the callback button that originated the query.
-
-
-
Class org.telegram.telegrambots.meta.api.objects.Chat extends Object implements Serializable
-
Serialized Fields
-
allMembersAreAdministrators
Boolean allMembersAreAdministrators
Optional. True if a group has ‘All Members Are Admins’ enabled. -
canSetStickerSet
Boolean canSetStickerSet
-
description
String description
-
firstName
String firstName
-
id
Long id
Unique identifier for this chat. This number may be greater than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it smaller than 52 bits, so a signed 64 bit integer or double-precision float type are safe for storing this identifier. -
inviteLink
String inviteLink
Optional. Chat invite link, for groups, supergroups and channel chats. Each administrator in a chat generates their own invite links, so the bot must first generate the link using exportChatInviteLink. Each Returned only in getChat. -
lastName
String lastName
-
permissions
ChatPermissions permissions
-
photo
ChatPhoto photo
-
pinnedMessage
Message pinnedMessage
-
slowModeDelay
Integer slowModeDelay
Optional. For supergroups, the minimum allowed delay between consecutive messages sent by each unpriviledged user. Returned only in getChat. -
stickerSetName
String stickerSetName
-
title
String title
-
type
String type
-
userName
String userName
-
-
-
Class org.telegram.telegrambots.meta.api.objects.ChatMember extends Object implements Serializable
-
Serialized Fields
-
canAddWebPagePreviews
Boolean canAddWebPagePreviews
-
canBeEdited
Boolean canBeEdited
-
canChangeInformation
Boolean canChangeInformation
-
canDeleteMessages
Boolean canDeleteMessages
-
canEditMessages
Boolean canEditMessages
-
canInviteUsers
Boolean canInviteUsers
-
canPinMessages
Boolean canPinMessages
-
canPostMessages
Boolean canPostMessages
-
canPromoteMembers
Boolean canPromoteMembers
-
canRestrictMembers
Boolean canRestrictMembers
-
canSendMediaMessages
Boolean canSendMediaMessages
-
canSendMessages
Boolean canSendMessages
-
canSendOtherMessages
Boolean canSendOtherMessages
-
canSendPolls
Boolean canSendPolls
-
customTitle
String customTitle
-
isMemberField
Boolean isMemberField
-
status
String status
-
untilDate
Integer untilDate
-
user
User user
-
-
-
Class org.telegram.telegrambots.meta.api.objects.ChatPermissions extends Object implements Serializable
-
Serialized Fields
-
canAddWebPagePreviews
Boolean canAddWebPagePreviews
-
canChangeInfo
Boolean canChangeInfo
-
canInviteUsers
Boolean canInviteUsers
-
canPinMessages
Boolean canPinMessages
-
canSendMessages
Boolean canSendMessages
-
canSendOtherMessages
Boolean canSendOtherMessages
-
canSendPolls
Boolean canSendPolls
-
getCanSendMediaMessages
Boolean getCanSendMediaMessages
-
-
-
Class org.telegram.telegrambots.meta.api.objects.ChatPhoto extends Object implements Serializable
-
Serialized Fields
-
bigFileId
String bigFileId
File identifier of big (640x640) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed. -
bigFileUniqueId
String bigFileUniqueId
Unique file identifier of big (640x640) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file. -
smallFileId
String smallFileId
File identifier of small (160x160) chat photo. This file_id can be used only for photo download and only for as long as the photo is not changed. -
smallFileUniqueId
String smallFileUniqueId
Unique file identifier of small (160x160) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
-
-
-
Class org.telegram.telegrambots.meta.api.objects.Contact extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.Dice extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.Document extends Object implements Serializable
-
Serialized Fields
-
-
Class org.telegram.telegrambots.meta.api.objects.File extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.InputFile extends Object implements Serializable
-
Serialized Fields
-
attachName
String attachName
-
isNew
boolean isNew
-
mediaName
String mediaName
-
newMediaFile
File newMediaFile
-
newMediaStream
InputStream newMediaStream
-
-
-
Class org.telegram.telegrambots.meta.api.objects.Location extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.LoginUrl extends Object implements Serializable
-
Serialized Fields
-
botUsername
String botUsername
Optional. Username of a bot, which will be used for user authorization. See Setting up a bot for more details. If not specified, the current bot's username will be assumed. The url's domain must be the same as the domain linked with the bot. -
forwardText
String forwardText
-
requestWriteAccess
Boolean requestWriteAccess
-
url
String url
An HTTP URL to be opened with user authorization data added to the query string when the button is pressed. If the user refuses to provide authorization data, the original URL without information about the user will be opened. The data added is the same as described in Receiving authorization data.
-
-
-
Class org.telegram.telegrambots.meta.api.objects.Message extends Object implements Serializable
-
Serialized Fields
-
animation
Animation animation
Optional. Message is an animation, information about the animation. For backward compatibility, when this field is set, the document field will be also set -
audio
Audio audio
-
authorSignature
String authorSignature
-
caption
String caption
-
captionEntities
List<MessageEntity> captionEntities
Optional. For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption -
channelChatCreated
Boolean channelChatCreated
Optional. Service message: the channel has been created. This field can‘t be received in a message coming through updates, because bot can’t be a member of a channel when it is created. It can only be found in reply_to_message if someone replies to a very first message in a channel. -
chat
Chat chat
-
connectedWebsite
String connectedWebsite
-
contact
Contact contact
-
date
Integer date
-
deleteChatPhoto
Boolean deleteChatPhoto
-
dice
Dice dice
-
document
Document document
-
editDate
Integer editDate
-
entities
List<MessageEntity> entities
Optional. For text messages, special entities like usernames, URLs, bot commands, etc. that appear in the text -
forwardDate
Integer forwardDate
-
forwardFrom
User forwardFrom
-
forwardFromChat
Chat forwardFromChat
-
forwardFromMessageId
Integer forwardFromMessageId
-
forwardSenderName
String forwardSenderName
-
forwardSignature
String forwardSignature
-
from
User from
-
game
Game game
-
groupchatCreated
Boolean groupchatCreated
-
invoice
Invoice invoice
-
leftChatMember
User leftChatMember
-
location
Location location
-
mediaGroupId
String mediaGroupId
-
messageId
Integer messageId
-
migrateFromChatId
Long migrateFromChatId
Optional. The supergroup has been migrated from a group with the specified identifier. This number may be greater than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it smaller than 52 bits, so a signed 64 bit integer or double-precision float type are safe for storing this identifier. -
migrateToChatId
Long migrateToChatId
Optional. The group has been migrated to a supergroup with the specified identifier. This number may be greater than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it smaller than 52 bits, so a signed 64 bit integer or double-precision float type are safe for storing this identifier. -
newChatMembers
List<User> newChatMembers
-
newChatPhoto
List<PhotoSize> newChatPhoto
-
newChatTitle
String newChatTitle
-
passportData
PassportData passportData
-
photo
List<PhotoSize> photo
-
pinnedMessage
Message pinnedMessage
-
poll
Poll poll
-
replyMarkup
InlineKeyboardMarkup replyMarkup
Inline keyboard attached to the message. -
replyToMessage
Message replyToMessage
-
sticker
Sticker sticker
-
successfulPayment
SuccessfulPayment successfulPayment
-
superGroupCreated
Boolean superGroupCreated
Optional. Service message: the supergroup has been created. This field can‘t be received in a message coming through updates, because bot can’t be a member of a supergroup when it is created. It can only be found in reply_to_message if someone replies to a very first message in a directly created supergroup. -
text
String text
-
venue
Venue venue
-
viaBot
User viaBot
-
video
Video video
-
videoNote
VideoNote videoNote
-
voice
Voice voice
-
-
-
Class org.telegram.telegrambots.meta.api.objects.MessageEntity extends Object implements Serializable
-
Serialized Fields
-
language
String language
-
length
Integer length
-
offset
Integer offset
-
text
String text
-
type
String type
Type of the entity. One of mention (@username), hashtag, cashtag bot_command, url, email, phone_number, bold (bold text), italic (italic text), code (monowidth string), pre (monowidth block), text_link (for clickable text URLs), text_mention (for users without usernames), underline, strikethrough -
url
String url
-
user
User user
-
-
-
Class org.telegram.telegrambots.meta.api.objects.PhotoSize extends Object implements Serializable
-
Serialized Fields
-
-
Class org.telegram.telegrambots.meta.api.objects.ResponseParameters extends Object implements Serializable
-
Serialized Fields
-
migrateToChatId
Long migrateToChatId
Optional. The group has been migrated to a supergroup with the specified identifier. This number may be greater than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it is smaller than 52 bits, so a signed 64 bit integer or double-precision float type are safe for storing this identifier. -
retryAfter
Integer retryAfter
Optional. In case of exceeding flood control a number of seconds to wait before the request can be repeated
-
-
-
Class org.telegram.telegrambots.meta.api.objects.Update extends Object implements Serializable
-
Serialized Fields
-
callbackQuery
CallbackQuery callbackQuery
-
channelPost
Message channelPost
-
chosenInlineQuery
ChosenInlineQuery chosenInlineQuery
-
editedChannelPost
Message editedChannelPost
-
editedMessage
Message editedMessage
-
inlineQuery
InlineQuery inlineQuery
-
message
Message message
-
poll
Poll poll
-
pollAnswer
PollAnswer pollAnswer
Optional. A user changed their answer in a non-anonymous poll. -
preCheckoutQuery
PreCheckoutQuery preCheckoutQuery
-
shippingQuery
ShippingQuery shippingQuery
-
updateId
Integer updateId
-
-
-
Class org.telegram.telegrambots.meta.api.objects.User extends Object implements Serializable
-
Serialized Fields
-
-
Class org.telegram.telegrambots.meta.api.objects.UserProfilePhotos extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.Venue extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.Video extends Object implements Serializable
-
Serialized Fields
-
duration
Integer duration
-
fileId
String fileId
-
fileSize
Integer fileSize
-
fileUniqueId
String fileUniqueId
Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file. -
height
Integer height
-
mimeType
String mimeType
-
thumb
PhotoSize thumb
-
width
Integer width
-
-
-
Class org.telegram.telegrambots.meta.api.objects.VideoNote extends Object implements Serializable
-
Serialized Fields
-
-
Class org.telegram.telegrambots.meta.api.objects.Voice extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.WebhookInfo extends Object implements Serializable
-
-
Package org.telegram.telegrambots.meta.api.objects.commands
-
Class org.telegram.telegrambots.meta.api.objects.commands.BotCommand extends Object implements Serializable
-
-
Package org.telegram.telegrambots.meta.api.objects.games
-
Class org.telegram.telegrambots.meta.api.objects.games.Animation extends Object implements Serializable
-
Serialized Fields
-
duration
Integer duration
-
fileId
String fileId
-
fileName
String fileName
-
fileSize
Integer fileSize
-
fileUniqueId
String fileUniqueId
Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file. -
height
Integer height
-
mimetype
String mimetype
-
thumb
PhotoSize thumb
-
width
Integer width
-
-
-
Class org.telegram.telegrambots.meta.api.objects.games.CallbackGame extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.games.Game extends Object implements Serializable
-
Serialized Fields
-
animation
Animation animation
-
description
String description
-
entities
List<MessageEntity> entities
Optional. Special entities that appear in text, such as usernames, URLs, bot commands, etc. -
photo
List<PhotoSize> photo
-
text
String text
Optional. Brief description of the game or high scores included in the game message. Can be automatically edited to include current high scores for the game when the bot calls setGameScore, or manually edited using editMessageText. 0-4096 characters. -
title
String title
-
-
-
Class org.telegram.telegrambots.meta.api.objects.games.GameHighScore extends Object implements Serializable
-
-
Package org.telegram.telegrambots.meta.api.objects.inlinequery
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.ChosenInlineQuery extends Object implements Serializable
-
Serialized Fields
-
from
User from
-
inlineMessageId
String inlineMessageId
Optional. Identifier of the sent inline message. Available only if there is an inline keyboard attached to the message. Will be also received in callback queries and can be used to edit the message. -
location
Location location
-
query
String query
-
resultId
String resultId
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.InlineQuery extends Object implements Serializable
-
-
Package org.telegram.telegrambots.meta.api.objects.inlinequery.inputmessagecontent
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.inputmessagecontent.InputContactMessageContent extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.inputmessagecontent.InputLocationMessageContent extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.inputmessagecontent.InputTextMessageContent extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.inputmessagecontent.InputVenueMessageContent extends Object implements Serializable
-
-
Package org.telegram.telegrambots.meta.api.objects.inlinequery.inputmessagecontent.serialization
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.inputmessagecontent.serialization.InputMessageContentDeserializer extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<InputMessageContent> implements Serializable
-
Serialized Fields
-
objectMapper
com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
-
-
Package org.telegram.telegrambots.meta.api.objects.inlinequery.result
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultArticle extends Object implements Serializable
-
Serialized Fields
-
description
String description
-
hideUrl
Boolean hideUrl
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbHeight
Integer thumbHeight
-
thumbUrl
String thumbUrl
-
thumbWidth
Integer thumbWidth
-
title
String title
-
type
String type
-
url
String url
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultAudio extends Object implements Serializable
-
Serialized Fields
-
audioDuration
Integer audioDuration
-
audioUrl
String audioUrl
-
caption
String caption
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
parseMode
String parseMode
-
performer
String performer
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
title
String title
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultContact extends Object implements Serializable
-
Serialized Fields
-
firstName
String firstName
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
lastName
String lastName
-
phoneNumber
String phoneNumber
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbHeight
Integer thumbHeight
-
thumbUrl
String thumbUrl
-
thumbWidth
Integer thumbWidth
-
type
String type
-
vCard
String vCard
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultDocument extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
description
String description
-
documentUrl
String documentUrl
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
mimeType
String mimeType
-
parseMode
String parseMode
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbHeight
Integer thumbHeight
-
thumbUrl
String thumbUrl
-
thumbWidth
Integer thumbWidth
-
title
String title
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultGame extends Object implements Serializable
-
Serialized Fields
-
gameShortName
String gameShortName
-
id
String id
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultGif extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
gifDuration
Integer gifDuration
-
gifHeight
Integer gifHeight
-
gifUrl
String gifUrl
-
gifWidth
Integer gifWidth
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
parseMode
String parseMode
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbUrl
String thumbUrl
-
thumbUrlType
String thumbUrlType
-
title
String title
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultLocation extends Object implements Serializable
-
Serialized Fields
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
latitude
Float latitude
-
livePeriod
Integer livePeriod
-
longitude
Float longitude
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbHeight
Integer thumbHeight
-
thumbUrl
String thumbUrl
-
thumbWidth
Integer thumbWidth
-
title
String title
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultMpeg4Gif extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
mpeg4Duration
Integer mpeg4Duration
-
mpeg4Height
Integer mpeg4Height
-
mpeg4Url
String mpeg4Url
-
mpeg4Width
Integer mpeg4Width
-
parseMode
String parseMode
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbUrl
String thumbUrl
-
title
String title
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultPhoto extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
description
String description
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
mimeType
String mimeType
-
parseMode
String parseMode
-
photoHeight
Integer photoHeight
-
photoUrl
String photoUrl
-
photoWidth
Integer photoWidth
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbUrl
String thumbUrl
-
title
String title
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultVenue extends Object implements Serializable
-
Serialized Fields
-
address
String address
-
foursquareId
String foursquareId
-
foursquareType
String foursquareType
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
latitude
Float latitude
-
longitude
Float longitude
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbHeight
Integer thumbHeight
-
thumbUrl
String thumbUrl
-
thumbWidth
Integer thumbWidth
-
title
String title
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultVideo extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
description
String description
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
mimeType
String mimeType
-
parseMode
String parseMode
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbUrl
String thumbUrl
-
title
String title
-
type
String type
-
videoDuration
Integer videoDuration
-
videoHeight
Integer videoHeight
-
videoUrl
String videoUrl
-
videoWidth
Integer videoWidth
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultVoice extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
parseMode
String parseMode
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
title
String title
-
type
String type
-
voiceDuration
Integer voiceDuration
-
voiceUrl
String voiceUrl
-
-
-
-
Package org.telegram.telegrambots.meta.api.objects.inlinequery.result.cached
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.cached.InlineQueryResultCachedAudio extends Object implements Serializable
-
Serialized Fields
-
audioFileId
String audioFileId
-
caption
String caption
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
parseMode
String parseMode
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.cached.InlineQueryResultCachedDocument extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
description
String description
-
documentFileId
String documentFileId
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
parseMode
String parseMode
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
title
String title
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.cached.InlineQueryResultCachedGif extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
gifFileId
String gifFileId
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
parseMode
String parseMode
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbUrl
String thumbUrl
-
thumbUrlType
String thumbUrlType
-
title
String title
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.cached.InlineQueryResultCachedMpeg4Gif extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
mpeg4FileId
String mpeg4FileId
-
parseMode
String parseMode
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
title
String title
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.cached.InlineQueryResultCachedPhoto extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
description
String description
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
parseMode
String parseMode
-
photoFileId
String photoFileId
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
title
String title
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.cached.InlineQueryResultCachedSticker extends Object implements Serializable
-
Serialized Fields
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
stickerFileId
String stickerFileId
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.cached.InlineQueryResultCachedVideo extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
description
String description
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
parseMode
String parseMode
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
title
String title
-
type
String type
-
videoFileId
String videoFileId
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.cached.InlineQueryResultCachedVoice extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
id
String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
parseMode
String parseMode
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
title
String title
-
type
String type
-
voiceFileId
String voiceFileId
-
-
-
-
Package org.telegram.telegrambots.meta.api.objects.inlinequery.result.chached
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.chached.InlineQueryResultCachedAudio extends InlineQueryResultCachedAudio implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.chached.InlineQueryResultCachedDocument extends InlineQueryResultCachedDocument implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.chached.InlineQueryResultCachedGif extends InlineQueryResultCachedGif implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.chached.InlineQueryResultCachedMpeg4Gif extends InlineQueryResultCachedMpeg4Gif implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.chached.InlineQueryResultCachedPhoto extends InlineQueryResultCachedPhoto implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.chached.InlineQueryResultCachedSticker extends InlineQueryResultCachedSticker implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.chached.InlineQueryResultCachedVideo extends InlineQueryResultCachedVideo implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.chached.InlineQueryResultCachedVoice extends InlineQueryResultCachedVoice implements Serializable
-
-
Package org.telegram.telegrambots.meta.api.objects.inlinequery.result.serialization
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.serialization.InlineQueryResultDeserializer extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<InlineQueryResult> implements Serializable
-
Serialized Fields
-
objectMapper
com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
-
-
Package org.telegram.telegrambots.meta.api.objects.media
-
Class org.telegram.telegrambots.meta.api.objects.media.InputMedia extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
isNewMedia
boolean isNewMedia
-
media
String media
File to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a file from the Internet, or pass "attach://" to upload a new one using multipart/form-data under name. -
mediaName
String mediaName
-
newMediaFile
File newMediaFile
-
newMediaStream
InputStream newMediaStream
-
parseMode
String parseMode
-
-
-
Class org.telegram.telegrambots.meta.api.objects.media.InputMediaAnimation extends InputMedia<InputMediaAnimation> implements Serializable
-
Serialized Fields
-
duration
Integer duration
-
height
Integer height
-
thumb
InputFile thumb
Thumbnail of the file sent. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail’s width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can’t be reused and can be only uploaded as a new file, so you can pass “attach://” if the thumbnail was uploaded using multipart/form-data under . -
width
Integer width
-
-
-
Class org.telegram.telegrambots.meta.api.objects.media.InputMediaAudio extends InputMedia<InputMediaAudio> implements Serializable
-
Serialized Fields
-
duration
Integer duration
-
performer
String performer
-
thumb
InputFile thumb
Optional. Thumbnail of the file sent. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail’s width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can’t be reused and can be only uploaded as a new file, so you can pass “attach://” if the thumbnail was uploaded using multipart/form-data under . -
title
String title
-
-
-
Class org.telegram.telegrambots.meta.api.objects.media.InputMediaDocument extends InputMedia<InputMediaDocument> implements Serializable
-
Serialized Fields
-
thumb
InputFile thumb
Thumbnail of the file sent. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail’s width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can’t be reused and can be only uploaded as a new file, so you can pass “attach://” if the thumbnail was uploaded using multipart/form-data under .
-
-
-
Class org.telegram.telegrambots.meta.api.objects.media.InputMediaPhoto extends InputMedia<InputMediaPhoto> implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.media.InputMediaVideo extends InputMedia<InputMediaVideo> implements Serializable
-
Serialized Fields
-
duration
Integer duration
-
height
Integer height
-
supportsStreaming
Boolean supportsStreaming
-
thumb
InputFile thumb
Thumbnail of the file sent. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail’s width and height should not exceed 320. Ignored if the file is not uploaded using multipart/form-data. Thumbnails can’t be reused and can be only uploaded as a new file, so you can pass “attach://” if the thumbnail was uploaded using multipart/form-data under . -
width
Integer width
-
-
-
-
Package org.telegram.telegrambots.meta.api.objects.media.serialization
-
Class org.telegram.telegrambots.meta.api.objects.media.serialization.InputMediaDeserializer extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<InputMedia> implements Serializable
-
Serialized Fields
-
objectMapper
com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
-
-
Package org.telegram.telegrambots.meta.api.objects.passport
-
Class org.telegram.telegrambots.meta.api.objects.passport.EncryptedCredentials extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.passport.EncryptedPassportElement extends Object implements Serializable
-
Serialized Fields
-
data
String data
Optional. Base64-encoded encrypted Telegram Passport data provided by the user, available for “personal_details”, “passport”, “driver_license”, “identity_card”, “identity_passport” and “address” types. Can be decrypted and verified using the accompanying EncryptedCredentials. -
email
String email
-
files
List<PassportFile> files
Optional. Array of files with encrypted documents, provided by the user, available for “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration” and “temporary_registration” types. Files can be decrypted and verified using the accompanying EncryptedCredentials. -
frontSide
PassportFile frontSide
Optional. File with encrypted document's front side, provided by the user. Available for “passport”, “driver_license”, “identity_card” and “internal_passport”. The file can be decrypted and verified using the accompanying EncryptedCredentials. -
hash
String hash
Base64-encoded element hash for using in PassportElementErrorUnspecified -
phoneNumber
String phoneNumber
-
reverseSide
PassportFile reverseSide
Optional. File with encrypted document's reverse side, provided by the user. Available for “driver_license” and “identity_card”. The file can be decrypted and verified using the accompanying EncryptedCredentials. -
selfie
PassportFile selfie
Optional. File with encrypted selfie of the user with a document, provided by the user, can be available for “passport”, “driver_license”, “identity_card” and “internal_passport”. The file can be decrypted and verified using the accompanying EncryptedCredentials. -
translations
ArrayList<PassportFile> translations
Optional. Array of encrypted files with translated versions of documents provided by the user. Available if requested for “passport”, “driver_license”, “identity_card”, “internal_passport”, “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration” and “temporary_registration” types. Files can be decrypted and verified using the accompanying EncryptedCredentials. -
type
String type
Data type. One of “personal_details”, “passport”, “driver_license”, “identity_card”, “internal_passport”, “address”, “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”, “phone_number”, “email”.
-
-
-
Class org.telegram.telegrambots.meta.api.objects.passport.PassportData extends Object implements Serializable
-
Serialized Fields
-
credentials
EncryptedCredentials credentials
-
data
List<EncryptedPassportElement> data
-
-
-
Class org.telegram.telegrambots.meta.api.objects.passport.PassportFile extends Object implements Serializable
-
-
Package org.telegram.telegrambots.meta.api.objects.passport.dataerror
-
Class org.telegram.telegrambots.meta.api.objects.passport.dataerror.PassportElementErrorDataField extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.passport.dataerror.PassportElementErrorFile extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.passport.dataerror.PassportElementErrorFiles extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.passport.dataerror.PassportElementErrorFrontSide extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.passport.dataerror.PassportElementErrorReverseSide extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.passport.dataerror.PassportElementErrorSelfie extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.passport.dataerror.PassportElementErrorTranslationFile extends Object implements Serializable
-
Serialized Fields
-
fileHash
String fileHash
-
message
String message
-
source
String source
-
type
String type
Type of element of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”, “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”
-
-
-
Class org.telegram.telegrambots.meta.api.objects.passport.dataerror.PassportElementErrorTranslationFiles extends Object implements Serializable
-
Serialized Fields
-
fileHashes
List<String> fileHashes
-
message
String message
-
source
String source
-
type
String type
Type of element of the user's Telegram Passport which has the issue, one of “passport”, “driver_license”, “identity_card”, “internal_passport”, “utility_bill”, “bank_statement”, “rental_agreement”, “passport_registration”, “temporary_registration”
-
-
-
Class org.telegram.telegrambots.meta.api.objects.passport.dataerror.PassportElementErrorUnspecified extends Object implements Serializable
-
-
Package org.telegram.telegrambots.meta.api.objects.passport.dataerror.serialization
-
Class org.telegram.telegrambots.meta.api.objects.passport.dataerror.serialization.PassportElementErrorDeserializer extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<PassportElementError> implements Serializable
-
Serialized Fields
-
objectMapper
com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
-
-
Package org.telegram.telegrambots.meta.api.objects.payments
-
Class org.telegram.telegrambots.meta.api.objects.payments.Invoice extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.payments.LabeledPrice extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.payments.OrderInfo extends Object implements Serializable
-
Serialized Fields
-
email
String email
-
name
String name
-
phoneNumber
String phoneNumber
-
shippingAddress
ShippingAddress shippingAddress
-
-
-
Class org.telegram.telegrambots.meta.api.objects.payments.PreCheckoutQuery extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.payments.ShippingAddress extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.payments.ShippingOption extends Object implements Serializable
-
Serialized Fields
-
id
String id
-
prices
List<LabeledPrice> prices
-
title
String title
-
-
-
Class org.telegram.telegrambots.meta.api.objects.payments.ShippingQuery extends Object implements Serializable
-
Serialized Fields
-
from
User from
-
id
String id
-
invoicePayload
String invoicePayload
-
shippingAddress
ShippingAddress shippingAddress
-
-
-
Class org.telegram.telegrambots.meta.api.objects.payments.SuccessfulPayment extends Object implements Serializable
-
-
Package org.telegram.telegrambots.meta.api.objects.polls
-
Class org.telegram.telegrambots.meta.api.objects.polls.Poll extends Object implements Serializable
-
Serialized Fields
-
allowMultipleAnswers
Boolean allowMultipleAnswers
-
closeDate
Integer closeDate
-
correctOptionId
Integer correctOptionId
Optional. 0-based identifier of the correct answer option. -
explanation
String explanation
-
explanationEntities
List<MessageEntity> explanationEntities
-
id
String id
-
isAnonymous
Boolean isAnonymous
-
isClosed
Boolean isClosed
-
openPeriod
Integer openPeriod
-
options
List<PollOption> options
-
question
String question
-
totalVoterCount
Integer totalVoterCount
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.polls.PollAnswer extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.polls.PollOption extends Object implements Serializable
-
-
Package org.telegram.telegrambots.meta.api.objects.replykeyboard
-
Class org.telegram.telegrambots.meta.api.objects.replykeyboard.ApiResponse extends Object implements Serializable
-
Serialized Fields
-
errorCode
Integer errorCode
Deprecated. -
errorDescription
String errorDescription
Deprecated. -
ok
Boolean ok
Deprecated. -
parameters
ResponseParameters parameters
Deprecated. -
result
T result
Deprecated.
-
-
-
Class org.telegram.telegrambots.meta.api.objects.replykeyboard.ForceReplyKeyboard extends Object implements Serializable
-
Serialized Fields
-
forceReply
Boolean forceReply
Shows reply interface to the user, as if they manually selected the bot‘s message and tapped ’Reply' -
selective
Boolean selective
Use this parameter if you want to force reply from specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message.
-
-
-
Class org.telegram.telegrambots.meta.api.objects.replykeyboard.InlineKeyboardMarkup extends Object implements Serializable
-
Serialized Fields
-
keyboard
List<List<InlineKeyboardButton>> keyboard
-
-
-
Class org.telegram.telegrambots.meta.api.objects.replykeyboard.ReplyKeyboardMarkup extends Object implements Serializable
-
Serialized Fields
-
keyboard
List<KeyboardRow> keyboard
-
oneTimeKeyboard
Boolean oneTimeKeyboard
-
resizeKeyboard
Boolean resizeKeyboard
-
selective
Boolean selective
Optional. Use this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message.
-
-
-
Class org.telegram.telegrambots.meta.api.objects.replykeyboard.ReplyKeyboardRemove extends Object implements Serializable
-
Serialized Fields
-
removeKeyboard
Boolean removeKeyboard
-
selective
Boolean selective
Optional. Use this parameter if you want to show the keyboard to specific users only. Targets: 1) users that are @mentioned in the text of the Message object; 2) if the bot's message is a reply (has reply_to_message_id), sender of the original message.
-
-
-
-
Package org.telegram.telegrambots.meta.api.objects.replykeyboard.buttons
-
Class org.telegram.telegrambots.meta.api.objects.replykeyboard.buttons.InlineKeyboardButton extends Object implements Serializable
-
Serialized Fields
-
callbackData
String callbackData
-
callbackGame
CallbackGame callbackGame
Optional. Description of the game that will be launched when the user presses the button. -
loginUrl
LoginUrl loginUrl
Optional. An HTTP URL used to automatically authorize the user. Can be used as a replacement for the Telegram Login Widget. -
pay
Boolean pay
Optional. Specify True, to send a Buy button. -
switchInlineQuery
String switchInlineQuery
Optional. If set, pressing the button will prompt the user to select one of their chats, open that chat and insert the bot‘s username and the specified inline query in the input field. Can be empty, in which case just the bot’s username will be inserted. -
switchInlineQueryCurrentChat
String switchInlineQueryCurrentChat
Optional. If set, pressing the button will insert the bot‘s username and the specified inline query in the current chat's input field. Can be empty, in which case only the bot’s username will be inserted. -
text
String text
-
url
String url
-
-
-
Class org.telegram.telegrambots.meta.api.objects.replykeyboard.buttons.KeyboardButton extends Object implements Serializable
-
Serialized Fields
-
requestContact
Boolean requestContact
Optional. If True, the user's phone number will be sent as a contact when the button is pressed. Available in private chats only -
requestLocation
Boolean requestLocation
Optional. If True, the user's current location will be sent when the button is pressed. Available in private chats only -
requestPoll
KeyboardButtonPollType requestPoll
Optional. If specified, the user will be asked to create a poll and send it to the bot when the button is pressed. Available in private chats only -
text
String text
Text of the button. If none of the optional fields are used, it will be sent to the bot as a message when the button is pressed
-
-
-
Class org.telegram.telegrambots.meta.api.objects.replykeyboard.buttons.KeyboardButtonPollType extends Object implements Serializable
-
Serialized Fields
-
type
String type
Optional. If quiz is passed, the user will be allowed to create only polls in the quiz mode. If regular is passed, only regular polls will be allowed. Otherwise, the user will be allowed to create a poll of any type.
-
-
-
Class org.telegram.telegrambots.meta.api.objects.replykeyboard.buttons.KeyboardRow extends ArrayList<KeyboardButton> implements Serializable
-
-
Package org.telegram.telegrambots.meta.api.objects.replykeyboard.serialization
-
Class org.telegram.telegrambots.meta.api.objects.replykeyboard.serialization.KeyboardDeserializer extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<ReplyKeyboard> implements Serializable
-
Serialized Fields
-
objectMapper
com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
-
-
Package org.telegram.telegrambots.meta.api.objects.stickers
-
Class org.telegram.telegrambots.meta.api.objects.stickers.MaskPosition extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.stickers.Sticker extends Object implements Serializable
-
Serialized Fields
-
emoji
String emoji
-
fileId
String fileId
-
fileSize
Integer fileSize
-
fileUniqueId
String fileUniqueId
Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file. -
height
Integer height
-
isAnimated
Boolean isAnimated
-
maskPosition
MaskPosition maskPosition
-
setName
String setName
-
thumb
PhotoSize thumb
-
width
Integer width
-
-
-
Class org.telegram.telegrambots.meta.api.objects.stickers.StickerSet extends Object implements Serializable
-
-
Package org.telegram.telegrambots.meta.exceptions
-
Class org.telegram.telegrambots.meta.exceptions.TelegramApiException extends Exception implements Serializable
-
Class org.telegram.telegrambots.meta.exceptions.TelegramApiRequestException extends TelegramApiException implements Serializable
-
Serialized Fields
-
apiResponse
String apiResponse
-
errorCode
Integer errorCode
-
parameters
ResponseParameters parameters
-
-
-
Class org.telegram.telegrambots.meta.exceptions.TelegramApiValidationException extends TelegramApiException implements Serializable
-
Serialized Fields
-
method
PartialBotApiMethod method
-
object
BotApiObject object
-
-
-