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
-
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. -
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. -
allowSavingContent
Boolean allowSavingContent
Optional. True, if messages from the chat can be forwarded to other chats. Returned only in getChat. -
bio
String bio
-
canSetStickerSet
Boolean canSetStickerSet
-
description
String description
-
firstName
String firstName
-
hasPrivateForwards
Boolean hasPrivateForwards
Optional. True, if privacy settings of the other party in the private chat allows to use tg://user?id=links only in chats with the user. Returned only in getChat. -
id
@NonNull 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
-
lastName
String lastName
-
linkedChatId
Long linkedChatId
Optional. Unique identifier for the linked chat, i.e. the discussion group identifier for a channel and vice versa; for supergroups and channel chats. This identifier 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. Returned only in getChat. -
location
ChatLocation location
-
messageAutoDeleteTime
Integer messageAutoDeleteTime
-
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
@NonNull String type
-
userName
String userName
-
-
-
Class org.telegram.telegrambots.meta.api.objects.ChatInviteLink extends Object implements Serializable
-
Serialized Fields
-
createsJoinRequest
Boolean createsJoinRequest
True, if users joining the chat via the link need to be approved by chat administrators -
creator
User creator
-
expireDate
Integer expireDate
-
inviteLink
String inviteLink
The invite link. If the link was created by another chat administrator, then the second part of the link will be replaced with “…”. -
isPrimary
Boolean isPrimary
-
isRevoked
Boolean isRevoked
-
memberLimit
Integer memberLimit
Optional. Maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999 -
name
String name
-
pendingJoinRequestCount
Integer pendingJoinRequestCount
-
-
-
Class org.telegram.telegrambots.meta.api.objects.ChatJoinRequest extends Object implements Serializable
-
Serialized Fields
-
bio
String bio
-
chat
Chat chat
-
date
Integer date
-
inviteLink
ChatInviteLink inviteLink
-
user
User user
-
-
-
Class org.telegram.telegrambots.meta.api.objects.ChatLocation extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.ChatMemberUpdated extends Object implements Serializable
-
Serialized Fields
-
chat
Chat chat
-
date
Integer date
-
from
User from
-
inviteLink
ChatInviteLink inviteLink
-
newChatMember
ChatMember newChatMember
-
oldChatMember
ChatMember oldChatMember
-
-
-
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
-
canSendMediaMessages
Boolean canSendMediaMessages
-
canSendMessages
Boolean canSendMessages
-
canSendOtherMessages
Boolean canSendOtherMessages
-
canSendPolls
Boolean canSendPolls
-
-
-
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
-
Serialized Fields
-
heading
Integer heading
Optional. The direction in which user is moving, in degrees; 1-360. For active live locations only. -
horizontalAccuracy
Double horizontalAccuracy
Optional. The radius of uncertainty for the location, measured in meters; 0-1500 -
latitude
@NonNull Double latitude
-
livePeriod
Integer livePeriod
Optional. Time relative to the message sending date, during which the location will be updated, in seconds. For active live locations only. -
longitude
@NonNull Double longitude
-
proximityAlertRadius
Integer proximityAlertRadius
Optional. Maximum distance for proximity alerts about approaching another chat member, in meters. For sent live locations only.
-
-
-
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
@NonNull 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
Optional. Signature of the post author for messages in channels, or the custom title of an anonymous group administrator -
canBeForwarded
Boolean canBeForwarded
-
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
Optional. For messages forwarded from channels or from anonymous administrators, information about the original sender chat -
forwardFromMessageId
Integer forwardFromMessageId
-
forwardSenderName
String forwardSenderName
-
forwardSignature
String forwardSignature
-
from
User from
-
game
Game game
-
groupchatCreated
Boolean groupchatCreated
-
invoice
Invoice invoice
-
isAutomaticForward
Boolean isAutomaticForward
-
leftChatMember
User leftChatMember
-
location
Location location
-
mediaGroupId
String mediaGroupId
-
messageAutoDeleteTimerChanged
MessageAutoDeleteTimerChanged messageAutoDeleteTimerChanged
-
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
-
proximityAlertTriggered
ProximityAlertTriggered proximityAlertTriggered
Optional. Service message. A user in the chat triggered another user's proximity alert while sharing Live Location. -
replyMarkup
InlineKeyboardMarkup replyMarkup
Inline keyboard attached to the message. -
replyToMessage
Message replyToMessage
-
senderChat
Chat senderChat
Optional. Sender of the message, sent on behalf of a chat. The channel itself for channel messages. The supergroup itself for messages from anonymous group administrators. The linked channel for messages automatically forwarded to the discussion group -
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
-
voiceChatEnded
VoiceChatEnded voiceChatEnded
-
voiceChatParticipantsInvited
VoiceChatParticipantsInvited voiceChatParticipantsInvited
-
voiceChatScheduled
VoiceChatScheduled voiceChatScheduled
-
voiceChatStarted
VoiceChatStarted voiceChatStarted
-
-
-
Class org.telegram.telegrambots.meta.api.objects.MessageAutoDeleteTimerChanged extends Object implements Serializable
-
Serialized Fields
-
messageAutoDeleteTime
Integer messageAutoDeleteTime
-
-
-
Class org.telegram.telegrambots.meta.api.objects.MessageEntity extends Object implements Serializable
-
Serialized Fields
-
language
String language
-
length
@NonNull Integer length
-
offset
@NonNull Integer offset
-
text
String text
-
type
@NonNull 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.MessageId extends Object implements Serializable
-
Serialized Fields
-
messageId
Long messageId
-
-
-
Class org.telegram.telegrambots.meta.api.objects.PhotoSize extends Object implements Serializable
-
Serialized Fields
-
-
Class org.telegram.telegrambots.meta.api.objects.ProximityAlertTriggered extends Object implements Serializable
-
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
-
chatJoinRequest
ChatJoinRequest chatJoinRequest
-
chatMember
ChatMemberUpdated chatMember
Optional. A chat member's status was updated in a chat. The bot must be an administrator in the chat and must explicitly specify “chat_member” in the list of allowed_updates to receive these updates. -
chosenInlineQuery
ChosenInlineQuery chosenInlineQuery
-
editedChannelPost
Message editedChannelPost
-
editedMessage
Message editedMessage
-
inlineQuery
InlineQuery inlineQuery
-
message
Message message
-
myChatMember
ChatMemberUpdated myChatMember
Optional. The bot's chat member status was updated in a chat. For private chats, this update is received only when the bot is blocked or unblocked by the user. -
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
-
canJoinGroups
Boolean canJoinGroups
-
canReadAllGroupMessages
Boolean canReadAllGroupMessages
-
firstName
@NonNull String firstName
-
id
@NonNull Long id
Unique identifier for this user or bot. -
isBot
@NonNull Boolean isBot
-
languageCode
String languageCode
-
lastName
String lastName
-
supportInlineQueries
Boolean supportInlineQueries
-
userName
String userName
-
-
-
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
-
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.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
-
Serialized Fields
-
-
-
Package org.telegram.telegrambots.meta.api.objects.chatmember
-
Class org.telegram.telegrambots.meta.api.objects.chatmember.ChatMemberAdministrator extends Object implements Serializable
-
Serialized Fields
-
canBeEdited
Boolean canBeEdited
True, if the bot is allowed to edit administrator privileges of that user -
canChangeInfo
Boolean canChangeInfo
True, if the user is allowed to change the chat title, photo and other settings -
canDeleteMessages
Boolean canDeleteMessages
True, if the administrator can delete messages of other users -
canEditMessages
Boolean canEditMessages
True, if the administrator can edit messages of other users and can pin messages; channels only -
canInviteUsers
Boolean canInviteUsers
True, if the user is allowed to invite new users to the chat -
canManageChat
Boolean canManageChat
True, if the administrator can access the chat event log, chat statistics, message statistics in channels, see channel members, see anonymous administrators in supergroups and ignore slow mode. Implied by any other administrator privilege -
canManageVoiceChats
Boolean canManageVoiceChats
True, if the administrator can manage voice chats -
canPinMessages
Boolean canPinMessages
True, if the user is allowed to pin messages; groups and supergroups only -
canPostMessages
Boolean canPostMessages
True, if the administrator can post in the channel; channels only -
canPromoteMembers
Boolean canPromoteMembers
True, if the administrator can add new administrators with a subset of their own privileges or demote administrators that he has promoted, directly or indirectly (promoted by administrators that were appointed by the user) -
canRestrictMembers
Boolean canRestrictMembers
True, if the administrator can restrict, ban or unban chat members -
customTitle
String customTitle
Custom title for this user -
isAnonymous
Boolean isAnonymous
True, if the user's presence in the chat is hidden -
status
String status
The member's status in the chat, always “administrator” -
user
User user
Information about the user
-
-
-
Class org.telegram.telegrambots.meta.api.objects.chatmember.ChatMemberBanned extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.chatmember.ChatMemberLeft extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.chatmember.ChatMemberMember extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.chatmember.ChatMemberOwner extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.chatmember.ChatMemberRestricted extends Object implements Serializable
-
Serialized Fields
-
canAddWebpagePreviews
Boolean canAddWebpagePreviews
True, if the user is allowed to add web page previews to their messages -
canChangeInfo
Boolean canChangeInfo
True, if the user is allowed to change the chat title, photo and other settings -
canInviteUsers
Boolean canInviteUsers
True, if the user is allowed to invite new users to the chat -
canPinMessages
Boolean canPinMessages
True, if the user is allowed to pin messages; groups and supergroups only -
canSendMediaMessages
Boolean canSendMediaMessages
True, if the user is allowed to send audios, documents, photos, videos, video notes and voice notes -
canSendMessages
Boolean canSendMessages
True, if the user is allowed to send text messages, contacts, locations and venues -
canSendOtherMessages
Boolean canSendOtherMessages
True, if the user is allowed to send animations, games, stickers and use inline bots -
canSendPolls
Boolean canSendPolls
True, if the user is allowed to send polls -
isMember
Boolean isMember
True, if the user is a member of the chat at the moment of the request -
status
String status
The member's status in the chat, always “restricted” -
untilDate
Integer untilDate
Date when restrictions will be lifted for this user; unix time -
user
User user
Information about the user
-
-
-
-
Package org.telegram.telegrambots.meta.api.objects.chatmember.serialization
-
Class org.telegram.telegrambots.meta.api.objects.chatmember.serialization.ChatMemberDeserializer extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<ChatMember> implements Serializable
-
Serialized Fields
-
objectMapper
com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
-
-
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.commands.scope
-
Class org.telegram.telegrambots.meta.api.objects.commands.scope.BotCommandScopeAllChatAdministrators extends Object implements Serializable
-
Serialized Fields
-
type
String type
Scope type, must be chat
-
-
-
Class org.telegram.telegrambots.meta.api.objects.commands.scope.BotCommandScopeAllGroupChats extends Object implements Serializable
-
Serialized Fields
-
type
String type
Scope type, must be chat
-
-
-
Class org.telegram.telegrambots.meta.api.objects.commands.scope.BotCommandScopeAllPrivateChats extends Object implements Serializable
-
Serialized Fields
-
type
String type
Scope type, must be chat
-
-
-
Class org.telegram.telegrambots.meta.api.objects.commands.scope.BotCommandScopeChat extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.commands.scope.BotCommandScopeChatAdministrators extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.commands.scope.BotCommandScopeChatMember extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.commands.scope.BotCommandScopeDefault extends Object implements Serializable
-
Serialized Fields
-
type
String type
Scope type, must be chat
-
-
-
-
Package org.telegram.telegrambots.meta.api.objects.commands.scope.serialization
-
Class org.telegram.telegrambots.meta.api.objects.commands.scope.serialization.BotCommandScopeDeserializer extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<BotCommandScope> implements Serializable
-
Serialized Fields
-
objectMapper
com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
-
-
Package org.telegram.telegrambots.meta.api.objects.games
-
Class org.telegram.telegrambots.meta.api.objects.games.Animation extends Object implements Serializable
-
Serialized Fields
-
duration
@NonNull Integer duration
-
fileId
@NonNull String fileId
-
fileName
String fileName
-
fileSize
Integer fileSize
-
fileUniqueId
@NonNull 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
@NonNull Integer height
-
mimetype
String mimetype
-
thumb
PhotoSize thumb
-
width
@NonNull 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
@NonNull String description
-
entities
List<MessageEntity> entities
Optional. Special entities that appear in text, such as usernames, URLs, bot commands, etc. -
photo
@NonNull 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
@NonNull 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
@NonNull 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
@NonNull String query
-
resultId
@NonNull String resultId
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.InlineQuery extends Object implements Serializable
-
Serialized Fields
-
chatType
String chatType
Optional. Type of the chat, from which the inline query was sent. Can be either “sender” for a private chat with the inline query sender, “private”, “group”, “supergroup”, or “channel”. The chat type should be always known for requests sent from official clients and most third-party clients, unless the request was sent from a secret chat -
from
@NonNull User from
-
id
@NonNull String id
-
location
Location location
-
offset
@NonNull String offset
-
query
@NonNull String query
-
-
-
-
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.InputInvoiceMessageContent extends Object implements Serializable
-
Serialized Fields
-
currency
@NonNull String currency
-
description
@NonNull String description
-
isFlexible
Boolean isFlexible
-
maxTipAmount
Integer maxTipAmount
Optional. The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a maximum tip of US$ 1.45 pass max_tip_amount = 145. Defaults to 0 -
needEmail
Boolean needEmail
-
needName
Boolean needName
-
needPhoneNumber
Boolean needPhoneNumber
-
needShippingAddress
Boolean needShippingAddress
-
payload
@NonNull String payload
Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal processes. -
photoHeight
Integer photoHeight
-
photoSize
Integer photoSize
-
photoUrl
String photoUrl
Optional. URL of the product photo for the invoice. Can be a photo of the goods or a marketing image for a service. People like it better when they see what they are paying for. -
photoWidth
Integer photoWidth
-
prices
@NonNull List<LabeledPrice> prices
Price breakdown, a JSON-serialized list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.) -
providerData
String providerData
Optional. A JSON-serialized object for data about the invoice, which will be shared with the payment provider. A detailed description of the required fields should be provided by the payment provider. -
providerToken
@NonNull String providerToken
-
sendEmailToProvider
Boolean sendEmailToProvider
-
sendPhoneNumberToProvider
Boolean sendPhoneNumberToProvider
-
suggestedTipAmounts
List<Integer> suggestedTipAmounts
Optional. A JSON-serialized array of suggested amounts of tip in the smallest units of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed max_tip_amount. -
title
@NonNull String title
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.inputmessagecontent.InputLocationMessageContent extends Object implements Serializable
-
Serialized Fields
-
heading
Integer heading
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified. -
horizontalAccuracy
Double horizontalAccuracy
Optional. The radius of uncertainty for the location, measured in meters; 0-1500 -
latitude
@NonNull Double latitude
-
livePeriod
Integer livePeriod
-
longitude
@NonNull Double longitude
-
proximityAlertRadius
Integer proximityAlertRadius
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified.
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.inputmessagecontent.InputTextMessageContent extends Object implements Serializable
-
Serialized Fields
-
disableWebPagePreview
Boolean disableWebPagePreview
-
entities
List<MessageEntity> entities
-
messageText
@NonNull String messageText
-
parseMode
String parseMode
-
-
-
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
@NonNull String id
-
inputMessageContent
@NonNull InputMessageContent inputMessageContent
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbHeight
Integer thumbHeight
-
thumbUrl
String thumbUrl
-
thumbWidth
Integer thumbWidth
-
title
@NonNull 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
@NonNull String audioUrl
-
caption
String caption
-
captionEntities
List<MessageEntity> captionEntities
-
id
@NonNull 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
@NonNull String firstName
-
id
@NonNull String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
lastName
String lastName
-
phoneNumber
@NonNull 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
-
captionEntities
List<MessageEntity> captionEntities
-
description
String description
-
documentUrl
@NonNull String documentUrl
-
id
@NonNull String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
mimeType
@NonNull String mimeType
-
parseMode
String parseMode
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbHeight
Integer thumbHeight
-
thumbUrl
String thumbUrl
-
thumbWidth
Integer thumbWidth
-
title
@NonNull String title
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultGame extends Object implements Serializable
-
Serialized Fields
-
gameShortName
@NonNull String gameShortName
-
id
@NonNull 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
-
captionEntities
List<MessageEntity> captionEntities
-
gifDuration
Integer gifDuration
-
gifHeight
Integer gifHeight
-
gifUrl
@NonNull String gifUrl
-
gifWidth
Integer gifWidth
-
id
@NonNull 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
-
heading
Integer heading
Optional. For live locations, a direction in which the user is moving, in degrees. Must be between 1 and 360 if specified. -
horizontalAccuracy
Double horizontalAccuracy
Optional. The radius of uncertainty for the location, measured in meters; 0-1500 -
id
@NonNull String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
latitude
@NonNull Float latitude
-
livePeriod
Integer livePeriod
-
longitude
@NonNull Float longitude
-
proximityAlertRadius
Integer proximityAlertRadius
Optional. For live locations, a maximum distance for proximity alerts about approaching another chat member, in meters. Must be between 1 and 100000 if specified. -
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbHeight
Integer thumbHeight
-
thumbUrl
String thumbUrl
-
thumbWidth
Integer thumbWidth
-
title
@NonNull String title
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultMpeg4Gif extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
captionEntities
List<MessageEntity> captionEntities
-
id
@NonNull String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
mpeg4Duration
Integer mpeg4Duration
-
mpeg4Height
Integer mpeg4Height
-
mpeg4Url
@NonNull 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
-
captionEntities
List<MessageEntity> captionEntities
-
description
String description
-
id
@NonNull String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
mimeType
String mimeType
-
parseMode
String parseMode
-
photoHeight
Integer photoHeight
-
photoUrl
@NonNull 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
@NonNull String address
-
foursquareId
String foursquareId
-
foursquareType
String foursquareType
-
googlePlaceId
String googlePlaceId
-
googlePlaceType
String googlePlaceType
-
id
@NonNull String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
latitude
@NonNull Float latitude
-
longitude
@NonNull Float longitude
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbHeight
Integer thumbHeight
-
thumbUrl
String thumbUrl
-
thumbWidth
Integer thumbWidth
-
title
@NonNull String title
-
type
String type
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultVideo extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
captionEntities
List<MessageEntity> captionEntities
-
description
String description
-
id
@NonNull String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
mimeType
@NonNull String mimeType
-
parseMode
String parseMode
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbUrl
String thumbUrl
-
title
String title
-
type
String type
-
videoDuration
Integer videoDuration
-
videoHeight
Integer videoHeight
-
videoUrl
@NonNull String videoUrl
-
videoWidth
Integer videoWidth
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.InlineQueryResultVoice extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
captionEntities
List<MessageEntity> captionEntities
-
id
@NonNull String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
parseMode
String parseMode
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
title
@NonNull String title
-
type
String type
-
voiceDuration
Integer voiceDuration
-
voiceUrl
@NonNull 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
@NonNull String audioFileId
-
caption
String caption
-
captionEntities
List<MessageEntity> captionEntities
-
id
@NonNull 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
-
captionEntities
List<MessageEntity> captionEntities
-
description
String description
-
documentFileId
@NonNull String documentFileId
-
id
@NonNull 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
-
captionEntities
List<MessageEntity> captionEntities
-
gifFileId
@NonNull String gifFileId
-
id
@NonNull 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
-
captionEntities
List<MessageEntity> captionEntities
-
id
@NonNull String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
mpeg4FileId
@NonNull 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
-
captionEntities
List<MessageEntity> captionEntities
-
description
String description
-
id
@NonNull String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
parseMode
String parseMode
-
photoFileId
@NonNull 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
@NonNull String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
stickerFileId
@NonNull 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
-
captionEntities
List<MessageEntity> captionEntities
-
description
String description
-
id
@NonNull String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
parseMode
String parseMode
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
title
String title
-
type
String type
-
videoFileId
@NonNull String videoFileId
-
-
-
Class org.telegram.telegrambots.meta.api.objects.inlinequery.result.cached.InlineQueryResultCachedVoice extends Object implements Serializable
-
Serialized Fields
-
caption
String caption
-
captionEntities
List<MessageEntity> captionEntities
-
id
@NonNull String id
-
inputMessageContent
InputMessageContent inputMessageContent
-
parseMode
String parseMode
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
title
@NonNull String title
-
type
String type
-
voiceFileId
@NonNull String voiceFileId
-
-
-
-
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
-
entities
List<MessageEntity> entities
-
isNewMedia
boolean isNewMedia
-
media
@NonNull 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 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 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 implements Serializable
-
Serialized Fields
-
disableContentTypeDetection
Boolean disableContentTypeDetection
Optional. Disables automatic server-side content type detection for files uploaded using multipart/form-data. Always true, if the document is sent as part of an album. -
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 implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.media.InputMediaVideo extends InputMedia 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
-
Serialized Fields
-
dataHash
@NonNull String dataHash
-
fieldName
@NonNull String fieldName
-
message
@NonNull String message
-
source
@NonNull String source
-
type
@NonNull String type
Type of the Telegram Passport data with the error, one of “personal_details”, “passport”, “driver_license”, “identity_card”, “internal_passport”, “address”
-
-
-
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
-
Serialized Fields
-
-
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
@NonNull String fileHash
-
message
@NonNull String message
-
source
String source
-
type
@NonNull 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
@NonNull List<String> fileHashes
-
message
@NonNull String message
-
source
String source
-
type
@NonNull 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
-
Serialized Fields
-
currency
String currency
-
description
String description
-
photo
PhotoSize photo
-
startParameter
String startParameter
Unique bot deep-linking parameter that can be used to generate this invoice; may be empty -
title
String title
-
totalAmount
Integer totalAmount
Total price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145.
-
-
-
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
-
Serialized Fields
-
currency
String currency
-
from
User from
-
id
String id
-
invoicePayload
String invoicePayload
-
orderInfo
OrderInfo orderInfo
-
shippingOptionId
String shippingOptionId
-
totalAmount
Integer totalAmount
Total price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145.
-
-
-
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
@NonNull String id
-
prices
@NonNull List<LabeledPrice> prices
-
title
@NonNull 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
-
Serialized Fields
-
currency
String currency
-
invoicePayload
String invoicePayload
-
orderInfo
OrderInfo orderInfo
-
providerPaymentChargeId
String providerPaymentChargeId
-
shippingOptionId
String shippingOptionId
-
telegramPaymentChargeId
String telegramPaymentChargeId
-
totalAmount
Integer totalAmount
Total price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145.
-
-
-
-
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.ForceReplyKeyboard extends Object implements Serializable
-
Serialized Fields
-
forceReply
@NonNull Boolean forceReply
Shows reply interface to the user, as if they manually selected the bot‘s message and tapped ’Reply' -
inputFieldPlaceholder
String inputFieldPlaceholder
Optional. The placeholder to be shown in the input field when the keyboard is active; 1-64 characters -
selective
Boolean selective
Optional. 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
@NonNull List<List<InlineKeyboardButton>> keyboard
-
-
-
Class org.telegram.telegrambots.meta.api.objects.replykeyboard.ReplyKeyboardMarkup extends Object implements Serializable
-
Serialized Fields
-
inputFieldPlaceholder
String inputFieldPlaceholder
Optional. The placeholder to be shown in the input field when the keyboard is active; 1-64 characters -
keyboard
@NonNull 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
@NonNull 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
@NonNull String text
-
url
String url
Optional. HTTP or tg:// url to be opened when the button is pressed. Links tg://user?id=can be used to mention a user by their ID without using a username, if this is allowed by their privacy settings.
-
-
-
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
@NonNull 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.api.objects.voicechat
-
Class org.telegram.telegrambots.meta.api.objects.voicechat.VoiceChatEnded extends Object implements Serializable
-
Serialized Fields
-
duration
Integer duration
-
-
-
Class org.telegram.telegrambots.meta.api.objects.voicechat.VoiceChatParticipantsInvited extends Object implements Serializable
-
Class org.telegram.telegrambots.meta.api.objects.voicechat.VoiceChatScheduled extends Object implements Serializable
-
Serialized Fields
-
startDate
@NonNull Integer startDate
-
-
-
Class org.telegram.telegrambots.meta.api.objects.voicechat.VoiceChatStarted 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
-
-
-