Serialized Form
-
Package org.teleight.teleightbots.api
-
Package org.teleight.teleightbots.api.objects
-
Record Class org.teleight.teleightbots.api.objects.AcceptedGiftTypes
class AcceptedGiftTypes extends Record implements Serializable-
Serialized Fields
-
giftsFromChannels
boolean giftsFromChannels
The field for thegiftsFromChannelsrecord component. -
limitedGifts
boolean limitedGifts
The field for thelimitedGiftsrecord component. -
premiumSubscription
boolean premiumSubscription
The field for thepremiumSubscriptionrecord component. -
uniqueGifts
boolean uniqueGifts
The field for theuniqueGiftsrecord component. -
unlimitedGifts
boolean unlimitedGifts
The field for theunlimitedGiftsrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.AffiliateInfo
class AffiliateInfo extends Record implements Serializable-
Serialized Fields
-
affiliateChat
@Nullable Chat affiliateChat
The field for theaffiliateChatrecord component. -
affiliateUser
@Nullable User affiliateUser
The field for theaffiliateUserrecord component. -
amount
int amount
The field for theamountrecord component. -
commissionPerMille
int commissionPerMille
The field for thecommissionPerMillerecord component. -
nanostarAmount
@org.jetbrains.annotations.Range(from=-999999999L, to=999999999L) int nanostarAmount
The field for thenanostarAmountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Animation
class Animation extends Record implements Serializable-
Serialized Fields
-
duration
int duration
The field for thedurationrecord component. -
fileId
String fileId
The field for thefileIdrecord component. -
fileName
@Nullable String fileName
The field for thefileNamerecord component. -
fileSize
@Nullable Long fileSize
The field for thefileSizerecord component. -
fileUniqueId
String fileUniqueId
The field for thefileUniqueIdrecord component. -
height
int height
The field for theheightrecord component. -
mimeType
@Nullable String mimeType
The field for themimeTyperecord component. -
thumbnail
@Nullable PhotoSize thumbnail
The field for thethumbnailrecord component. -
width
int width
The field for thewidthrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ApiResponse
class ApiResponse extends Record implements Serializable-
Serialized Fields
-
errorCode
int errorCode
The field for theerrorCoderecord component. -
errorDescription
String errorDescription
The field for theerrorDescriptionrecord component. -
ok
boolean ok
The field for theokrecord component. -
parameters
ResponseParameters parameters
The field for theparametersrecord component. -
result
T result
The field for theresultrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Audio
class Audio extends Record implements Serializable-
Serialized Fields
-
duration
int duration
The field for thedurationrecord component. -
fileId
String fileId
The field for thefileIdrecord component. -
fileName
@Nullable String fileName
The field for thefileNamerecord component. -
fileSize
@Nullable Long fileSize
The field for thefileSizerecord component. -
fileUniqueId
String fileUniqueId
The field for thefileUniqueIdrecord component. -
mimeType
@Nullable String mimeType
The field for themimeTyperecord component. -
performer
@Nullable String performer
The field for theperformerrecord component. -
thumbnail
@Nullable PhotoSize thumbnail
The field for thethumbnailrecord component. -
title
@Nullable String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BackgroundFillFreeformGradient
class BackgroundFillFreeformGradient extends Record implements Serializable-
Serialized Fields
-
colors
@NotNull Color[] colors
The field for thecolorsrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BackgroundFillGradient
class BackgroundFillGradient extends Record implements Serializable-
Serialized Fields
-
bottomColor
@NotNull Color bottomColor
The field for thebottomColorrecord component. -
rotationAngle
@org.checkerframework.common.value.qual.IntRange(from=0L, to=359L) int rotationAngle
The field for therotationAnglerecord component. -
topColor
@NotNull Color topColor
The field for thetopColorrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BackgroundFillSolid
class BackgroundFillSolid extends Record implements Serializable-
Serialized Fields
-
color
@NotNull Color color
The field for thecolorrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BackgroundTypeChatTheme
class BackgroundTypeChatTheme extends Record implements Serializable-
Serialized Fields
-
themeName
@NotNull String themeName
The field for thethemeNamerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BackgroundTypeFill
class BackgroundTypeFill extends Record implements Serializable-
Serialized Fields
-
darkThemeDimming
@org.checkerframework.common.value.qual.IntRange(from=0L, to=100L) int darkThemeDimming
The field for thedarkThemeDimmingrecord component. -
fill
@NotNull BackgroundFill fill
The field for thefillrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BackgroundTypePattern
class BackgroundTypePattern extends Record implements Serializable-
Serialized Fields
-
document
@NotNull Document document
The field for thedocumentrecord component. -
fill
@NotNull BackgroundFill fill
The field for thefillrecord component. -
intensity
@org.checkerframework.common.value.qual.IntRange(from=0L, to=100L) int intensity
The field for theintensityrecord component. -
isInverted
boolean isInverted
The field for theisInvertedrecord component. -
isMoving
boolean isMoving
The field for theisMovingrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BackgroundTypeWallpaper
class BackgroundTypeWallpaper extends Record implements Serializable-
Serialized Fields
-
darkThemeDimming
@org.checkerframework.common.value.qual.IntRange(from=0L, to=100L) int darkThemeDimming
The field for thedarkThemeDimmingrecord component. -
document
@NotNull Document document
The field for thedocumentrecord component. -
isBlurred
boolean isBlurred
The field for theisBlurredrecord component. -
isMoving
boolean isMoving
The field for theisMovingrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Birthdate
class Birthdate extends Record implements Serializable-
Serialized Fields
-
day
int day
The field for thedayrecord component. -
month
int month
The field for themonthrecord component. -
year
int year
The field for theyearrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BotCommand
class BotCommand extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.BotCommandScopeAllChatAdministrators
class BotCommandScopeAllChatAdministrators extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.BotCommandScopeAllGroupChats
class BotCommandScopeAllGroupChats extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.BotCommandScopeAllPrivateChats
class BotCommandScopeAllPrivateChats extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.BotCommandScopeChat
class BotCommandScopeChat extends Record implements Serializable-
Serialized Fields
-
chatId
@NotNull String chatId
The field for thechatIdrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BotCommandScopeChatAdministrators
class BotCommandScopeChatAdministrators extends Record implements Serializable-
Serialized Fields
-
chatId
@NotNull String chatId
The field for thechatIdrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BotCommandScopeChatMember
class BotCommandScopeChatMember extends Record implements Serializable-
Serialized Fields
-
chatId
@NotNull String chatId
The field for thechatIdrecord component. -
userId
int userId
The field for theuserIdrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BotCommandScopeDefault
class BotCommandScopeDefault extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.BotDescription
class BotDescription extends Record implements Serializable-
Serialized Fields
-
description
String description
The field for thedescriptionrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BotName
class BotName extends Record implements Serializable-
Serialized Fields
-
name
String name
The field for thenamerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BotShortDescription
class BotShortDescription extends Record implements Serializable-
Serialized Fields
-
shortDescription
String shortDescription
The field for theshortDescriptionrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BusinessBotRights
class BusinessBotRights extends Record implements Serializable-
Serialized Fields
-
canChangeGiftSettings
boolean canChangeGiftSettings
The field for thecanChangeGiftSettingsrecord component. -
canConvertGiftsToStars
boolean canConvertGiftsToStars
The field for thecanConvertGiftsToStarsrecord component. -
canDeleteAllMessages
boolean canDeleteAllMessages
The field for thecanDeleteAllMessagesrecord component. -
canDeleteOutgoingMessages
boolean canDeleteOutgoingMessages
The field for thecanDeleteOutgoingMessagesrecord component. -
canEditBio
boolean canEditBio
The field for thecanEditBiorecord component. -
canEditName
boolean canEditName
The field for thecanEditNamerecord component. -
canEditProfilePhoto
boolean canEditProfilePhoto
The field for thecanEditProfilePhotorecord component. -
canEditUsername
boolean canEditUsername
The field for thecanEditUsernamerecord component. -
canManageStories
boolean canManageStories
The field for thecanManageStoriesrecord component. -
canReadMessages
boolean canReadMessages
The field for thecanReadMessagesrecord component. -
canReply
boolean canReply
The field for thecanReplyrecord component. -
canTransferAndUpgradeGifts
boolean canTransferAndUpgradeGifts
The field for thecanTransferAndUpgradeGiftsrecord component. -
canTransferStars
boolean canTransferStars
The field for thecanTransferStarsrecord component. -
canViewGiftsAndStars
boolean canViewGiftsAndStars
The field for thecanViewGiftsAndStarsrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BusinessConnection
class BusinessConnection extends Record implements Serializable-
Serialized Fields
-
date
int date
The field for thedaterecord component. -
id
@NotNull String id
The field for theidrecord component. -
isEnabled
boolean isEnabled
The field for theisEnabledrecord component. -
rights
@Nullable BusinessBotRights rights
The field for therightsrecord component. -
user
@NotNull User user
The field for theuserrecord component. -
userChatId
@NotNull Long userChatId
The field for theuserChatIdrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BusinessIntro
class BusinessIntro extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.BusinessLocation
class BusinessLocation extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.BusinessMessagesDeleted
class BusinessMessagesDeleted extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.BusinessOpeningHours
class BusinessOpeningHours extends Record implements Serializable-
Serialized Fields
-
openingHours
@NotNull BusinessOpeningHoursInterval[] openingHours
The field for theopeningHoursrecord component. -
timeZoneName
@NotNull String timeZoneName
The field for thetimeZoneNamerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.BusinessOpeningHoursInterval
class BusinessOpeningHoursInterval extends Record implements Serializable-
Serialized Fields
-
closingMinute
@org.jetbrains.annotations.Range(from=0L, to=11520L) int closingMinute
The field for theclosingMinuterecord component. -
openingMinute
@org.jetbrains.annotations.Range(from=0L, to=10080L) int openingMinute
The field for theopeningMinuterecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.CallbackGame
class CallbackGame extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.CallbackQuery
class CallbackQuery extends Record implements Serializable-
Serialized Fields
-
chatInstance
String chatInstance
The field for thechatInstancerecord component. -
data
@Nullable String data
The field for thedatarecord component. -
from
User from
The field for thefromrecord component. -
id
String id
The field for theidrecord component. -
inlineMessageId
@Nullable String inlineMessageId
The field for theinlineMessageIdrecord component. -
message
@Nullable MaybeInaccessibleMessage message
The field for themessagerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Chat
class Chat extends Record implements Serializable-
Serialized Fields
-
firstName
@Nullable String firstName
The field for thefirstNamerecord component. -
id
String id
The field for theidrecord component. -
isDirectMessages
boolean isDirectMessages
The field for theisDirectMessagesrecord component. -
isForum
boolean isForum
The field for theisForumrecord component. -
lastName
@Nullable String lastName
The field for thelastNamerecord component. -
title
@Nullable String title
The field for thetitlerecord component. -
type
String type
The field for thetyperecord component. -
username
@Nullable String username
The field for theusernamerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatAdministratorRights
class ChatAdministratorRights extends Record implements Serializable-
Serialized Fields
-
canChangeInfo
boolean canChangeInfo
The field for thecanChangeInforecord component. -
canDeleteMessages
boolean canDeleteMessages
The field for thecanDeleteMessagesrecord component. -
canDeleteStories
boolean canDeleteStories
The field for thecanDeleteStoriesrecord component. -
canEditMessages
boolean canEditMessages
The field for thecanEditMessagesrecord component. -
canEditStories
boolean canEditStories
The field for thecanEditStoriesrecord component. -
canInviteUsers
boolean canInviteUsers
The field for thecanInviteUsersrecord component. -
canManageChat
boolean canManageChat
The field for thecanManageChatrecord component. -
canManageDirectMessages
boolean canManageDirectMessages
The field for thecanManageDirectMessagesrecord component. -
canManageTopics
boolean canManageTopics
The field for thecanManageTopicsrecord component. -
canManageVideoChats
boolean canManageVideoChats
The field for thecanManageVideoChatsrecord component. -
canPinMessages
boolean canPinMessages
The field for thecanPinMessagesrecord component. -
canPostMessages
boolean canPostMessages
The field for thecanPostMessagesrecord component. -
canPostStories
boolean canPostStories
The field for thecanPostStoriesrecord component. -
canPromoteMembers
boolean canPromoteMembers
The field for thecanPromoteMembersrecord component. -
canRestrictMembers
boolean canRestrictMembers
The field for thecanRestrictMembersrecord component. -
isAnonymous
boolean isAnonymous
The field for theisAnonymousrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatBackground
class ChatBackground extends Record implements Serializable-
Serialized Fields
-
type
@NotNull BackgroundType type
The field for thetyperecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatBoost
class ChatBoost extends Record implements Serializable-
Serialized Fields
-
addDate
@NotNull Date addDate
The field for theaddDaterecord component. -
boostId
@NotNull String boostId
The field for theboostIdrecord component. -
expirationDate
@NotNull Date expirationDate
The field for theexpirationDaterecord component. -
source
@NotNull ChatBoostSource source
The field for thesourcerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatBoostAdded
class ChatBoostAdded extends Record implements Serializable-
Serialized Fields
-
boostCount
int boostCount
The field for theboostCountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatBoostRemoved
class ChatBoostRemoved extends Record implements Serializable-
Serialized Fields
-
boostId
@NotNull String boostId
The field for theboostIdrecord component. -
chat
@NotNull Chat chat
The field for thechatrecord component. -
removeDate
@NotNull Date removeDate
The field for theremoveDaterecord component. -
source
@NotNull ChatBoostSource source
The field for thesourcerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatBoostSourceGiftCode
class ChatBoostSourceGiftCode extends Record implements Serializable-
Serialized Fields
-
user
@NotNull User user
The field for theuserrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatBoostSourceGiveaway
class ChatBoostSourceGiveaway extends Record implements Serializable-
Serialized Fields
-
giveawayMessageId
int giveawayMessageId
The field for thegiveawayMessageIdrecord component. -
isUnclaimed
boolean isUnclaimed
The field for theisUnclaimedrecord component. -
prizeStarCount
int prizeStarCount
The field for theprizeStarCountrecord component. -
user
@Nullable User user
The field for theuserrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatBoostSourcePremium
class ChatBoostSourcePremium extends Record implements Serializable-
Serialized Fields
-
user
@NotNull User user
The field for theuserrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatBoostUpdated
class ChatBoostUpdated extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.ChatFullInfo
class ChatFullInfo extends Record implements Serializable-
Serialized Fields
-
accentColorId
int accentColorId
The field for theaccentColorIdrecord component. -
acceptedGiftTypes
@Nullable AcceptedGiftTypes acceptedGiftTypes
The field for theacceptedGiftTypesrecord component. -
activeUsernames
@Nullable String[] activeUsernames
The field for theactiveUsernamesrecord component. -
availableReactions
@Nullable ReactionType[] availableReactions
The field for theavailableReactionsrecord component. -
backgroundCustomEmojiId
@Nullable String backgroundCustomEmojiId
The field for thebackgroundCustomEmojiIdrecord component. -
bio
@Nullable String bio
The field for thebiorecord component. -
birthdate
@Nullable Birthdate birthdate
The field for thebirthdaterecord component. -
businessIntro
@Nullable String businessIntro
The field for thebusinessIntrorecord component. -
businessLocation
@Nullable BusinessLocation businessLocation
The field for thebusinessLocationrecord component. -
businessOpeningHours
@Nullable BusinessOpeningHours businessOpeningHours
The field for thebusinessOpeningHoursrecord component. -
canSendPaidMedia
boolean canSendPaidMedia
The field for thecanSendPaidMediarecord component. -
canSetStickerSet
boolean canSetStickerSet
The field for thecanSetStickerSetrecord component. -
customEmojiStickerSetName
@Nullable String customEmojiStickerSetName
The field for thecustomEmojiStickerSetNamerecord component. -
description
@Nullable String description
The field for thedescriptionrecord component. -
emojiStatusCustomEmojiId
@Nullable String emojiStatusCustomEmojiId
The field for theemojiStatusCustomEmojiIdrecord component. -
emojiStatusExpirationDate
@Nullable Date emojiStatusExpirationDate
The field for theemojiStatusExpirationDaterecord component. -
firstName
@Nullable String firstName
The field for thefirstNamerecord component. -
firstProfileAudio
@Nullable Audio firstProfileAudio
The field for thefirstProfileAudiorecord component. -
hasAggressiveAntiSpamEnabled
boolean hasAggressiveAntiSpamEnabled
The field for thehasAggressiveAntiSpamEnabledrecord component. -
hasHiddenMembers
boolean hasHiddenMembers
The field for thehasHiddenMembersrecord component. -
hasPrivateForwards
boolean hasPrivateForwards
The field for thehasPrivateForwardsrecord component. -
hasProtectedContent
boolean hasProtectedContent
The field for thehasProtectedContentrecord component. -
hasRestrictedVoiceAndVideoMessages
boolean hasRestrictedVoiceAndVideoMessages
The field for thehasRestrictedVoiceAndVideoMessagesrecord component. -
hasVisibleHistory
boolean hasVisibleHistory
The field for thehasVisibleHistoryrecord component. -
id
String id
The field for theidrecord component. -
inviteLink
@Nullable String inviteLink
The field for theinviteLinkrecord component. -
isDirectMessages
boolean isDirectMessages
The field for theisDirectMessagesrecord component. -
isForum
boolean isForum
The field for theisForumrecord component. -
joinByRequest
boolean joinByRequest
The field for thejoinByRequestrecord component. -
joinToSendMessages
boolean joinToSendMessages
The field for thejoinToSendMessagesrecord component. -
lastName
@Nullable String lastName
The field for thelastNamerecord component. -
linkedChatId
@Nullable Long linkedChatId
The field for thelinkedChatIdrecord component. -
location
@Nullable ChatLocation location
The field for thelocationrecord component. -
maxReactionCount
int maxReactionCount
The field for themaxReactionCountrecord component. -
messageAutoDeleteTime
int messageAutoDeleteTime
The field for themessageAutoDeleteTimerecord component. -
paidMessageStarCount
int paidMessageStarCount
The field for thepaidMessageStarCountrecord component. -
parentChat
@Nullable Chat parentChat
The field for theparentChatrecord component. -
permissions
@Nullable ChatPermissions permissions
The field for thepermissionsrecord component. -
personalChat
@Nullable Chat personalChat
The field for thepersonalChatrecord component. -
photo
@Nullable ChatPhoto photo
The field for thephotorecord component. -
pinnedMessage
@Nullable Message pinnedMessage
The field for thepinnedMessagerecord component. -
profileAccentColorId
int profileAccentColorId
The field for theprofileAccentColorIdrecord component. -
profileBackgroundCustomEmojiId
@Nullable String profileBackgroundCustomEmojiId
The field for theprofileBackgroundCustomEmojiIdrecord component. -
rating
@Nullable UserRating rating
The field for theratingrecord component. -
slowModeDelay
int slowModeDelay
The field for theslowModeDelayrecord component. -
stickerSetName
@Nullable String stickerSetName
The field for thestickerSetNamerecord component. -
title
@Nullable String title
The field for thetitlerecord component. -
type
String type
The field for thetyperecord component. -
uniqueGiftColors
@Nullable UniqueGiftColors uniqueGiftColors
The field for theuniqueGiftColorsrecord component. -
unrestrictBoostCount
int unrestrictBoostCount
The field for theunrestrictBoostCountrecord component. -
username
@Nullable String username
The field for theusernamerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatInviteLink
class ChatInviteLink extends Record implements Serializable-
Serialized Fields
-
createsJoinRequest
boolean createsJoinRequest
The field for thecreatesJoinRequestrecord component. -
creator
User creator
The field for thecreatorrecord component. -
expireDate
@Nullable Date expireDate
The field for theexpireDaterecord component. -
inviteLink
String inviteLink
The field for theinviteLinkrecord component. -
isPrimary
boolean isPrimary
The field for theisPrimaryrecord component. -
isRevoked
boolean isRevoked
The field for theisRevokedrecord component. -
memberLimit
@org.jetbrains.annotations.Range(from=1L, to=99999L) int memberLimit
The field for thememberLimitrecord component. -
name
@Nullable String name
The field for thenamerecord component. -
pendingJoinRequestCount
int pendingJoinRequestCount
The field for thependingJoinRequestCountrecord component. -
subscriptionPeriod
int subscriptionPeriod
The field for thesubscriptionPeriodrecord component. -
subscriptionPrice
int subscriptionPrice
The field for thesubscriptionPricerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatJoinRequest
class ChatJoinRequest extends Record implements Serializable-
Serialized Fields
-
bio
@Nullable String bio
The field for thebiorecord component. -
chat
Chat chat
The field for thechatrecord component. -
date
Date date
The field for thedaterecord component. -
from
User from
The field for thefromrecord component. -
inviteLink
@Nullable ChatInviteLink inviteLink
The field for theinviteLinkrecord component. -
userChatId
Long userChatId
The field for theuserChatIdrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatLocation
class ChatLocation extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.ChatMemberAdministrator
class ChatMemberAdministrator extends Record implements Serializable-
Serialized Fields
-
canBeEdited
boolean canBeEdited
The field for thecanBeEditedrecord component. -
canChangeInfo
boolean canChangeInfo
The field for thecanChangeInforecord component. -
canDeleteMessages
boolean canDeleteMessages
The field for thecanDeleteMessagesrecord component. -
canDeleteStories
boolean canDeleteStories
The field for thecanDeleteStoriesrecord component. -
canEditMessages
boolean canEditMessages
The field for thecanEditMessagesrecord component. -
canEditStories
boolean canEditStories
The field for thecanEditStoriesrecord component. -
canInviteUsers
boolean canInviteUsers
The field for thecanInviteUsersrecord component. -
canManageChat
boolean canManageChat
The field for thecanManageChatrecord component. -
canManageDirectMessages
boolean canManageDirectMessages
The field for thecanManageDirectMessagesrecord component. -
canManageTopics
boolean canManageTopics
The field for thecanManageTopicsrecord component. -
canManageVoiceChats
boolean canManageVoiceChats
The field for thecanManageVoiceChatsrecord component. -
canPinMessages
boolean canPinMessages
The field for thecanPinMessagesrecord component. -
canPostMessages
boolean canPostMessages
The field for thecanPostMessagesrecord component. -
canPostStories
boolean canPostStories
The field for thecanPostStoriesrecord component. -
canPromoteMembers
boolean canPromoteMembers
The field for thecanPromoteMembersrecord component. -
canRestrictMembers
boolean canRestrictMembers
The field for thecanRestrictMembersrecord component. -
customTitle
@Nullable String customTitle
The field for thecustomTitlerecord component. -
isAnonymous
boolean isAnonymous
The field for theisAnonymousrecord component. -
user
User user
The field for theuserrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatMemberBanned
class ChatMemberBanned extends Record implements Serializable-
Serialized Fields
-
untilDate
int untilDate
The field for theuntilDaterecord component. -
user
User user
The field for theuserrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatMemberLeft
class ChatMemberLeft extends Record implements Serializable-
Serialized Fields
-
user
User user
The field for theuserrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatMemberMember
class ChatMemberMember extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.ChatMemberOwner
class ChatMemberOwner extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.ChatMemberRestricted
class ChatMemberRestricted extends Record implements Serializable-
Serialized Fields
-
canAddWebPagePreviews
boolean canAddWebPagePreviews
The field for thecanAddWebPagePreviewsrecord component. -
canChangeInfo
boolean canChangeInfo
The field for thecanChangeInforecord component. -
canInviteUsers
boolean canInviteUsers
The field for thecanInviteUsersrecord component. -
canManageTopics
boolean canManageTopics
The field for thecanManageTopicsrecord component. -
canPinMessages
boolean canPinMessages
The field for thecanPinMessagesrecord component. -
canSendAudios
boolean canSendAudios
The field for thecanSendAudiosrecord component. -
canSendDocuments
boolean canSendDocuments
The field for thecanSendDocumentsrecord component. -
canSendMessages
boolean canSendMessages
The field for thecanSendMessagesrecord component. -
canSendOtherMessages
boolean canSendOtherMessages
The field for thecanSendOtherMessagesrecord component. -
canSendPhotos
boolean canSendPhotos
The field for thecanSendPhotosrecord component. -
canSendPolls
boolean canSendPolls
The field for thecanSendPollsrecord component. -
canSendVideoNotes
boolean canSendVideoNotes
The field for thecanSendVideoNotesrecord component. -
canSendVideos
boolean canSendVideos
The field for thecanSendVideosrecord component. -
canSendVoiceNotes
boolean canSendVoiceNotes
The field for thecanSendVoiceNotesrecord component. -
isMember
boolean isMember
The field for theisMemberrecord component. -
untilDate
int untilDate
The field for theuntilDaterecord component. -
user
User user
The field for theuserrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatMemberUpdated
class ChatMemberUpdated extends Record implements Serializable-
Serialized Fields
-
chat
@NotNull Chat chat
The field for thechatrecord component. -
date
@NotNull Date date
The field for thedaterecord component. -
from
@NotNull User from
The field for thefromrecord component. -
inviteLink
@Nullable ChatInviteLink inviteLink
The field for theinviteLinkrecord component. -
newChatMember
@NotNull ChatMember newChatMember
The field for thenewChatMemberrecord component. -
oldChatMember
@NotNull ChatMember oldChatMember
The field for theoldChatMemberrecord component. -
viaChatFolderInviteLink
boolean viaChatFolderInviteLink
The field for theviaChatFolderInviteLinkrecord component. -
viaJoinRequest
boolean viaJoinRequest
The field for theviaJoinRequestrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatOwnerChanged
class ChatOwnerChanged extends Record implements Serializable-
Serialized Fields
-
newOwner
@NotNull User newOwner
The field for thenewOwnerrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatOwnerLeft
class ChatOwnerLeft extends Record implements Serializable-
Serialized Fields
-
newOwner
@Nullable User newOwner
The field for thenewOwnerrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatPermissions
class ChatPermissions extends Record implements Serializable-
Serialized Fields
-
canAddWebPagePreviews
boolean canAddWebPagePreviews
The field for thecanAddWebPagePreviewsrecord component. -
canChangeInfo
boolean canChangeInfo
The field for thecanChangeInforecord component. -
canInviteUsers
boolean canInviteUsers
The field for thecanInviteUsersrecord component. -
canManageTopics
boolean canManageTopics
The field for thecanManageTopicsrecord component. -
canPinMessages
boolean canPinMessages
The field for thecanPinMessagesrecord component. -
canSendAudios
boolean canSendAudios
The field for thecanSendAudiosrecord component. -
canSendDocuments
boolean canSendDocuments
The field for thecanSendDocumentsrecord component. -
canSendMessages
boolean canSendMessages
The field for thecanSendMessagesrecord component. -
canSendOtherMessages
boolean canSendOtherMessages
The field for thecanSendOtherMessagesrecord component. -
canSendPhotos
boolean canSendPhotos
The field for thecanSendPhotosrecord component. -
canSendPolls
boolean canSendPolls
The field for thecanSendPollsrecord component. -
canSendVideoNotes
boolean canSendVideoNotes
The field for thecanSendVideoNotesrecord component. -
canSendVideos
boolean canSendVideos
The field for thecanSendVideosrecord component. -
canSendVoiceNotes
boolean canSendVoiceNotes
The field for thecanSendVoiceNotesrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChatPhoto
class ChatPhoto extends Record implements Serializable-
Serialized Fields
-
bigFileId
String bigFileId
The field for thebigFileIdrecord component. -
bigFileUniqueId
String bigFileUniqueId
The field for thebigFileUniqueIdrecord component. -
smallFileId
String smallFileId
The field for thesmallFileIdrecord component. -
smallFileUniqueId
String smallFileUniqueId
The field for thesmallFileUniqueIdrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Checklist
class Checklist extends Record implements Serializable-
Serialized Fields
-
othersCanAddTasks
boolean othersCanAddTasks
The field for theothersCanAddTasksrecord component. -
othersCanMarkTasksAsDone
boolean othersCanMarkTasksAsDone
The field for theothersCanMarkTasksAsDonerecord component. -
tasks
ChecklistTask[] tasks
The field for thetasksrecord component. -
title
String title
The field for thetitlerecord component. -
titleEntities
@Nullable MessageEntity[] titleEntities
The field for thetitleEntitiesrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChecklistTask
class ChecklistTask extends Record implements Serializable-
Serialized Fields
-
completedByChat
@Nullable Chat completedByChat
The field for thecompletedByChatrecord component. -
completedByUser
@Nullable User completedByUser
The field for thecompletedByUserrecord component. -
completionDate
@Nullable Date completionDate
The field for thecompletionDaterecord component. -
id
int id
The field for theidrecord component. -
text
String text
The field for thetextrecord component. -
textEntities
@Nullable MessageEntity[] textEntities
The field for thetextEntitiesrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChecklistTasksAdded
class ChecklistTasksAdded extends Record implements Serializable-
Serialized Fields
-
checklistMessage
@Nullable Message checklistMessage
The field for thechecklistMessagerecord component. -
tasks
ChecklistTask[] tasks
The field for thetasksrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChecklistTasksDone
class ChecklistTasksDone extends Record implements Serializable-
Serialized Fields
-
checklistMessage
@Nullable Message checklistMessage
The field for thechecklistMessagerecord component. -
markedAsDoneTaskIds
int[] markedAsDoneTaskIds
The field for themarkedAsDoneTaskIdsrecord component. -
markedAsNotDoneTaskIds
int[] markedAsNotDoneTaskIds
The field for themarkedAsNotDoneTaskIdsrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ChosenInlineResult
class ChosenInlineResult extends Record implements Serializable-
Serialized Fields
-
from
User from
The field for thefromrecord component. -
inlineMessageId
@Nullable String inlineMessageId
The field for theinlineMessageIdrecord component. -
location
@Nullable Location location
The field for thelocationrecord component. -
query
String query
The field for thequeryrecord component. -
resultId
String resultId
The field for theresultIdrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Contact
class Contact extends Record implements Serializable-
Serialized Fields
-
firstName
String firstName
The field for thefirstNamerecord component. -
lastName
@Nullable String lastName
The field for thelastNamerecord component. -
phoneNumber
String phoneNumber
The field for thephoneNumberrecord component. -
userId
long userId
The field for theuserIdrecord component. -
vcard
@Nullable String vcard
The field for thevcardrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Dice
class Dice extends Record implements Serializable-
Serialized Fields
-
emoji
String emoji
The field for theemojirecord component. -
value
int value
The field for thevaluerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.DirectMessagePriceChanged
class DirectMessagePriceChanged extends Record implements Serializable-
Serialized Fields
-
areDirectMessagesEnabled
boolean areDirectMessagesEnabled
The field for theareDirectMessagesEnabledrecord component. -
directMessageStarCount
int directMessageStarCount
The field for thedirectMessageStarCountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.DirectMessagesTopic
class DirectMessagesTopic extends Record implements Serializable-
Serialized Fields
-
topicId
long topicId
The field for thetopicIdrecord component. -
user
@Nullable User user
The field for theuserrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Document
class Document extends Record implements Serializable-
Serialized Fields
-
fileId
String fileId
The field for thefileIdrecord component. -
fileName
@Nullable String fileName
The field for thefileNamerecord component. -
fileSize
@Nullable Long fileSize
The field for thefileSizerecord component. -
fileUniqueId
String fileUniqueId
The field for thefileUniqueIdrecord component. -
mimeType
@Nullable String mimeType
The field for themimeTyperecord component. -
thumbnail
@Nullable PhotoSize thumbnail
The field for thethumbnailrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.EncryptedCredentials
class EncryptedCredentials extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.EncryptedPassportElement
class EncryptedPassportElement extends Record implements Serializable-
Serialized Fields
-
data
@Nullable String data
The field for thedatarecord component. -
email
@Nullable String email
The field for theemailrecord component. -
files
@Nullable PassportFile[] files
The field for thefilesrecord component. -
frontSide
@Nullable PassportFile frontSide
The field for thefrontSiderecord component. -
hash
@Nullable String hash
The field for thehashrecord component. -
phoneNumber
@Nullable String phoneNumber
The field for thephoneNumberrecord component. -
reverseSide
@Nullable PassportFile reverseSide
The field for thereverseSiderecord component. -
selfie
@Nullable PassportFile selfie
The field for theselfierecord component. -
translation
@Nullable PassportFile[] translation
The field for thetranslationrecord component. -
type
String type
The field for thetyperecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ExternalReplyInfo
class ExternalReplyInfo extends Record implements Serializable-
Serialized Fields
-
animation
@Nullable Animation animation
The field for theanimationrecord component. -
audio
@Nullable Audio audio
The field for theaudiorecord component. -
chat
@Nullable Chat chat
The field for thechatrecord component. -
checklist
@Nullable Checklist checklist
The field for thechecklistrecord component. -
contact
@Nullable Contact contact
The field for thecontactrecord component. -
dice
@Nullable Dice dice
The field for thedicerecord component. -
document
@Nullable Document document
The field for thedocumentrecord component. -
game
@Nullable Game game
The field for thegamerecord component. -
giveaway
@Nullable Giveaway giveaway
The field for thegiveawayrecord component. -
giveawayWinners
@Nullable GiveawayWinners giveawayWinners
The field for thegiveawayWinnersrecord component. -
hasMediaSpoiler
boolean hasMediaSpoiler
The field for thehasMediaSpoilerrecord component. -
invoice
@Nullable Invoice invoice
The field for theinvoicerecord component. -
linkPreviewOptions
@Nullable LinkPreviewOptions linkPreviewOptions
The field for thelinkPreviewOptionsrecord component. -
location
@Nullable Location location
The field for thelocationrecord component. -
messageId
int messageId
The field for themessageIdrecord component. -
origin
@NotNull MessageOrigin origin
The field for theoriginrecord component. -
paidMedia
@Nullable PaidMedia paidMedia
The field for thepaidMediarecord component. -
photo
@Nullable PhotoSize[] photo
The field for thephotorecord component. -
poll
@Nullable Poll poll
The field for thepollrecord component. -
sticker
@Nullable Sticker sticker
The field for thestickerrecord component. -
story
@Nullable Story story
The field for thestoryrecord component. -
venue
@Nullable Venue venue
The field for thevenuerecord component. -
video
@Nullable Video video
The field for thevideorecord component. -
videoNote
@Nullable VideoNote videoNote
The field for thevideoNoterecord component. -
voice
@Nullable Voice voice
The field for thevoicerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.File
class File extends Record implements Serializable-
Serialized Fields
-
fileId
String fileId
The field for thefileIdrecord component. -
filePath
@Nullable String filePath
The field for thefilePathrecord component. -
fileSize
@Nullable Long fileSize
The field for thefileSizerecord component. -
fileUniqueId
String fileUniqueId
The field for thefileUniqueIdrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ForceReplyKeyboard
class ForceReplyKeyboard extends Record implements Serializable-
Serialized Fields
-
forceReply
boolean forceReply
The field for theforceReplyrecord component. -
inputFieldPlaceholder
@Nullable String inputFieldPlaceholder
The field for theinputFieldPlaceholderrecord component. -
selective
boolean selective
The field for theselectiverecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ForumTopic
class ForumTopic extends Record implements Serializable-
Serialized Fields
-
iconColor
int iconColor
The field for theiconColorrecord component. -
iconCustomEmojiId
@Nullable String iconCustomEmojiId
The field for theiconCustomEmojiIdrecord component. -
isNameImplicit
boolean isNameImplicit
The field for theisNameImplicitrecord component. -
messageThreadId
int messageThreadId
The field for themessageThreadIdrecord component. -
name
@NotNull String name
The field for thenamerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ForumTopicClosed
class ForumTopicClosed extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.ForumTopicCreated
class ForumTopicCreated extends Record implements Serializable-
Serialized Fields
-
description
int description
The field for thedescriptionrecord component. -
iconCustomEmojiId
@Nullable String iconCustomEmojiId
The field for theiconCustomEmojiIdrecord component. -
isNameImplicit
boolean isNameImplicit
The field for theisNameImplicitrecord component. -
name
String name
The field for thenamerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ForumTopicEdited
class ForumTopicEdited extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.ForumTopicReopened
class ForumTopicReopened extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.Game
class Game extends Record implements Serializable-
Serialized Fields
-
animation
@Nullable Animation animation
The field for theanimationrecord component. -
description
String description
The field for thedescriptionrecord component. -
photo
PhotoSize[] photo
The field for thephotorecord component. -
text
@Nullable String text
The field for thetextrecord component. -
textEntities
@Nullable MessageEntity[] textEntities
The field for thetextEntitiesrecord component. -
title
String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.GameHighScore
class GameHighScore extends Record implements Serializable-
Serialized Fields
-
position
int position
The field for thepositionrecord component. -
score
int score
The field for thescorerecord component. -
user
@NotNull User user
The field for theuserrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.GeneralForumTopicHidden
class GeneralForumTopicHidden extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.Gift
class Gift extends Record implements Serializable-
Serialized Fields
-
background
@Nullable GiftBackground background
The field for thebackgroundrecord component. -
hasColors
boolean hasColors
The field for thehasColorsrecord component. -
id
@NotNull String id
The field for theidrecord component. -
isPremium
boolean isPremium
The field for theisPremiumrecord component. -
personalRemainingCount
int personalRemainingCount
The field for thepersonalRemainingCountrecord component. -
personalTotalCount
int personalTotalCount
The field for thepersonalTotalCountrecord component. -
publisherChat
@Nullable Chat publisherChat
The field for thepublisherChatrecord component. -
remainingCount
int remainingCount
The field for theremainingCountrecord component. -
starCount
int starCount
The field for thestarCountrecord component. -
sticker
@NotNull Sticker sticker
The field for thestickerrecord component. -
totalCount
int totalCount
The field for thetotalCountrecord component. -
uniqueGiftVariantCount
int uniqueGiftVariantCount
The field for theuniqueGiftVariantCountrecord component. -
upgradeStarCount
int upgradeStarCount
The field for theupgradeStarCountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.GiftBackground
class GiftBackground extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.GiftInfo
class GiftInfo extends Record implements Serializable-
Serialized Fields
-
canBeUpgraded
boolean canBeUpgraded
The field for thecanBeUpgradedrecord component. -
convertStarCount
@Nullable Integer convertStarCount
The field for theconvertStarCountrecord component. -
entities
@Nullable MessageEntity[] entities
The field for theentitiesrecord component. -
gift
@NotNull Gift gift
The field for thegiftrecord component. -
isPrivate
boolean isPrivate
The field for theisPrivaterecord component. -
isUpgradeSeparate
boolean isUpgradeSeparate
The field for theisUpgradeSeparaterecord component. -
ownedGiftId
@Nullable String ownedGiftId
The field for theownedGiftIdrecord component. -
prepaidUpgradeStarCount
@Nullable Integer prepaidUpgradeStarCount
The field for theprepaidUpgradeStarCountrecord component. -
text
@Nullable String text
The field for thetextrecord component. -
uniqueGiftNumber
int uniqueGiftNumber
The field for theuniqueGiftNumberrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Gifts
class Gifts extends Record implements Serializable-
Serialized Fields
-
gifts
@NotNull Gift[] gifts
The field for thegiftsrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Giveaway
class Giveaway extends Record implements Serializable-
Serialized Fields
-
chats
@NotNull Chat[] chats
The field for thechatsrecord component. -
countryCodes
@Nullable String[] countryCodes
The field for thecountryCodesrecord component. -
hasPublicWinners
boolean hasPublicWinners
The field for thehasPublicWinnersrecord component. -
onlyNewMembers
boolean onlyNewMembers
The field for theonlyNewMembersrecord component. -
premiumSubscriptionMonthCount
int premiumSubscriptionMonthCount
The field for thepremiumSubscriptionMonthCountrecord component. -
prizeDescription
@Nullable String prizeDescription
The field for theprizeDescriptionrecord component. -
prizeStarCount
int prizeStarCount
The field for theprizeStarCountrecord component. -
winnerCount
int winnerCount
The field for thewinnerCountrecord component. -
winnersSelectionDate
@NotNull Date winnersSelectionDate
The field for thewinnersSelectionDaterecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.GiveawayCompleted
class GiveawayCompleted extends Record implements Serializable-
Serialized Fields
-
giveawayMessage
@Nullable Message giveawayMessage
The field for thegiveawayMessagerecord component. -
isStarGiveaway
boolean isStarGiveaway
The field for theisStarGiveawayrecord component. -
unclaimedPrizeCount
int unclaimedPrizeCount
The field for theunclaimedPrizeCountrecord component. -
winnerCount
int winnerCount
The field for thewinnerCountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.GiveawayCreated
class GiveawayCreated extends Record implements Serializable-
Serialized Fields
-
prizeStarCount
int prizeStarCount
The field for theprizeStarCountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.GiveawayWinners
class GiveawayWinners extends Record implements Serializable-
Serialized Fields
-
additionalChatCount
int additionalChatCount
The field for theadditionalChatCountrecord component. -
chat
@NotNull Chat chat
The field for thechatrecord component. -
giveawayMessageId
int giveawayMessageId
The field for thegiveawayMessageIdrecord component. -
onlyNewMembers
boolean onlyNewMembers
The field for theonlyNewMembersrecord component. -
premiumSubscriptionMonthCount
int premiumSubscriptionMonthCount
The field for thepremiumSubscriptionMonthCountrecord component. -
prizeDescription
@Nullable String prizeDescription
The field for theprizeDescriptionrecord component. -
prizeStarCount
int prizeStarCount
The field for theprizeStarCountrecord component. -
unclaimedPrizeCount
int unclaimedPrizeCount
The field for theunclaimedPrizeCountrecord component. -
wasRefunded
boolean wasRefunded
The field for thewasRefundedrecord component. -
winnerCount
int winnerCount
The field for thewinnerCountrecord component. -
winners
@NotNull User[] winners
The field for thewinnersrecord component. -
winnersSelectionDate
@NotNull Date winnersSelectionDate
The field for thewinnersSelectionDaterecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InaccessibleMessage
class InaccessibleMessage extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.InlineKeyboardButton
class InlineKeyboardButton extends Record implements Serializable-
Serialized Fields
-
callback
BiConsumer<ButtonPressEvent,
User> callback The field for thecallbackrecord component. -
callbackData
@Nullable String callbackData
The field for thecallbackDatarecord component. -
callbackGame
@Nullable CallbackGame callbackGame
The field for thecallbackGamerecord component. -
copyText
@Nullable CopyTextButton copyText
The field for thecopyTextrecord component. -
destinationMenu
Menu destinationMenu
The field for thedestinationMenurecord component. -
iconCustomEmojiId
@Nullable String iconCustomEmojiId
The field for theiconCustomEmojiIdrecord component. -
loginUrl
@Nullable LoginUrl loginUrl
The field for theloginUrlrecord component. -
pay
boolean pay
The field for thepayrecord component. -
style
@Nullable KeyboardButtonStyle style
The field for thestylerecord component. -
switchInlineQuery
@Nullable String switchInlineQuery
The field for theswitchInlineQueryrecord component. -
switchInlineQueryChosenChat
@Nullable SwitchInlineQueryChosenChat switchInlineQueryChosenChat
The field for theswitchInlineQueryChosenChatrecord component. -
switchInlineQueryCurrentChat
@Nullable String switchInlineQueryCurrentChat
The field for theswitchInlineQueryCurrentChatrecord component. -
text
@NotNull String text
The field for thetextrecord component. -
url
@Nullable String url
The field for theurlrecord component. -
webApp
@Nullable WebAppInfo webApp
The field for thewebApprecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineKeyboardMarkup
class InlineKeyboardMarkup extends Record implements Serializable-
Serialized Fields
-
keyboard
@NotNull InlineKeyboardButton[][] keyboard
The field for thekeyboardrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQuery
class InlineQuery extends Record implements Serializable-
Serialized Fields
-
chatType
@Nullable String chatType
The field for thechatTyperecord component. -
from
User from
The field for thefromrecord component. -
id
String id
The field for theidrecord component. -
location
@Nullable Location location
The field for thelocationrecord component. -
offset
String offset
The field for theoffsetrecord component. -
query
String query
The field for thequeryrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultArticle
class InlineQueryResultArticle extends Record implements Serializable-
Serialized Fields
-
description
@Nullable String description
The field for thedescriptionrecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@NotNull InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
thumbnailHeight
int thumbnailHeight
The field for thethumbnailHeightrecord component. -
thumbnailUrl
@Nullable String thumbnailUrl
The field for thethumbnailUrlrecord component. -
thumbnailWidth
int thumbnailWidth
The field for thethumbnailWidthrecord component. -
title
@NotNull String title
The field for thetitlerecord component. -
url
@Nullable String url
The field for theurlrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultAudio
class InlineQueryResultAudio extends Record implements Serializable-
Serialized Fields
-
audioDuration
int audioDuration
The field for theaudioDurationrecord component. -
audioUrl
@NotNull String audioUrl
The field for theaudioUrlrecord component. -
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
performer
@Nullable String performer
The field for theperformerrecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
title
@NotNull String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultCachedAudio
class InlineQueryResultCachedAudio extends Record implements Serializable-
Serialized Fields
-
audioFileId
@NotNull String audioFileId
The field for theaudioFileIdrecord component. -
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultCachedDocument
class InlineQueryResultCachedDocument extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
description
@Nullable String description
The field for thedescriptionrecord component. -
documentFileId
@NotNull String documentFileId
The field for thedocumentFileIdrecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
title
@Nullable String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultCachedGif
class InlineQueryResultCachedGif extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
gifFileId
@NotNull String gifFileId
The field for thegifFileIdrecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
showCaptionAboveMedia
boolean showCaptionAboveMedia
The field for theshowCaptionAboveMediarecord component. -
title
@Nullable String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultCachedMpeg4Gif
class InlineQueryResultCachedMpeg4Gif extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
mpeg4FileId
@NotNull String mpeg4FileId
The field for thempeg4FileIdrecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
showCaptionAboveMedia
boolean showCaptionAboveMedia
The field for theshowCaptionAboveMediarecord component. -
title
@Nullable String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultCachedPhoto
class InlineQueryResultCachedPhoto extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
description
@Nullable String description
The field for thedescriptionrecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
photoFileId
@NotNull String photoFileId
The field for thephotoFileIdrecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
showCaptionAboveMedia
boolean showCaptionAboveMedia
The field for theshowCaptionAboveMediarecord component. -
title
@Nullable String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultCachedSticker
class InlineQueryResultCachedSticker extends Record implements Serializable-
Serialized Fields
-
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
stickerFileId
@NotNull String stickerFileId
The field for thestickerFileIdrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultCachedVideo
class InlineQueryResultCachedVideo extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
description
@Nullable String description
The field for thedescriptionrecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
showCaptionAboveMedia
boolean showCaptionAboveMedia
The field for theshowCaptionAboveMediarecord component. -
title
@Nullable String title
The field for thetitlerecord component. -
videoFileId
@NotNull String videoFileId
The field for thevideoFileIdrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultCachedVoice
class InlineQueryResultCachedVoice extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
title
@NotNull String title
The field for thetitlerecord component. -
voiceFileId
@NotNull String voiceFileId
The field for thevoiceFileIdrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultContact
class InlineQueryResultContact extends Record implements Serializable-
Serialized Fields
-
firstName
@NotNull String firstName
The field for thefirstNamerecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
lastName
@Nullable String lastName
The field for thelastNamerecord component. -
phoneNumber
@NotNull String phoneNumber
The field for thephoneNumberrecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
thumbnailHeight
int thumbnailHeight
The field for thethumbnailHeightrecord component. -
thumbnailUrl
@Nullable String thumbnailUrl
The field for thethumbnailUrlrecord component. -
thumbnailWidth
int thumbnailWidth
The field for thethumbnailWidthrecord component. -
vcard
@Nullable String vcard
The field for thevcardrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultDocument
class InlineQueryResultDocument extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
description
@Nullable String description
The field for thedescriptionrecord component. -
documentUrl
@NotNull String documentUrl
The field for thedocumentUrlrecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
mimeType
@NotNull String mimeType
The field for themimeTyperecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
thumbnailHeight
int thumbnailHeight
The field for thethumbnailHeightrecord component. -
thumbnailUrl
@Nullable String thumbnailUrl
The field for thethumbnailUrlrecord component. -
thumbnailWidth
int thumbnailWidth
The field for thethumbnailWidthrecord component. -
title
@NotNull String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultGame
class InlineQueryResultGame extends Record implements Serializable-
Serialized Fields
-
gameShortName
@NotNull String gameShortName
The field for thegameShortNamerecord component. -
id
@NotNull String id
The field for theidrecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultGif
class InlineQueryResultGif extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
gifDuration
int gifDuration
The field for thegifDurationrecord component. -
gifHeight
int gifHeight
The field for thegifHeightrecord component. -
gifUrl
@NotNull String gifUrl
The field for thegifUrlrecord component. -
gifWidth
int gifWidth
The field for thegifWidthrecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
showCaptionAboveMedia
boolean showCaptionAboveMedia
The field for theshowCaptionAboveMediarecord component. -
thumbnailMimeType
@Nullable String thumbnailMimeType
The field for thethumbnailMimeTyperecord component. -
thumbnailUrl
@NotNull String thumbnailUrl
The field for thethumbnailUrlrecord component. -
title
@Nullable String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultLocation
class InlineQueryResultLocation extends Record implements Serializable-
Serialized Fields
-
heading
int heading
The field for theheadingrecord component. -
horizontalAccuracy
@Nullable Float horizontalAccuracy
The field for thehorizontalAccuracyrecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
latitude
float latitude
The field for thelatituderecord component. -
livePeriod
int livePeriod
The field for thelivePeriodrecord component. -
longitude
float longitude
The field for thelongituderecord component. -
proximityAlertRadius
int proximityAlertRadius
The field for theproximityAlertRadiusrecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
thumbnailHeight
int thumbnailHeight
The field for thethumbnailHeightrecord component. -
thumbnailUrl
@Nullable String thumbnailUrl
The field for thethumbnailUrlrecord component. -
thumbnailWidth
int thumbnailWidth
The field for thethumbnailWidthrecord component. -
title
@NotNull String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultMpeg4Gif
class InlineQueryResultMpeg4Gif extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
mpeg4Duration
int mpeg4Duration
The field for thempeg4Durationrecord component. -
mpeg4Height
int mpeg4Height
The field for thempeg4Heightrecord component. -
mpeg4Url
@NotNull String mpeg4Url
The field for thempeg4Urlrecord component. -
mpeg4Width
int mpeg4Width
The field for thempeg4Widthrecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
showCaptionAboveMedia
boolean showCaptionAboveMedia
The field for theshowCaptionAboveMediarecord component. -
thumbnailMimeType
@Nullable String thumbnailMimeType
The field for thethumbnailMimeTyperecord component. -
thumbnailUrl
@NotNull String thumbnailUrl
The field for thethumbnailUrlrecord component. -
title
@Nullable String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultPhoto
class InlineQueryResultPhoto extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
description
@Nullable String description
The field for thedescriptionrecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
photoHeight
int photoHeight
The field for thephotoHeightrecord component. -
photoUrl
@NotNull String photoUrl
The field for thephotoUrlrecord component. -
photoWidth
int photoWidth
The field for thephotoWidthrecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
showCaptionAboveMedia
boolean showCaptionAboveMedia
The field for theshowCaptionAboveMediarecord component. -
thumbnailUrl
@NotNull String thumbnailUrl
The field for thethumbnailUrlrecord component. -
title
@Nullable String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultVenue
class InlineQueryResultVenue extends Record implements Serializable-
Serialized Fields
-
address
@NotNull String address
The field for theaddressrecord component. -
foursquareId
@Nullable String foursquareId
The field for thefoursquareIdrecord component. -
foursquareType
@Nullable String foursquareType
The field for thefoursquareTyperecord component. -
googlePlaceId
@Nullable String googlePlaceId
The field for thegooglePlaceIdrecord component. -
googlePlaceType
@Nullable String googlePlaceType
The field for thegooglePlaceTyperecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
latitude
float latitude
The field for thelatituderecord component. -
longitude
float longitude
The field for thelongituderecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
thumbnailHeight
int thumbnailHeight
The field for thethumbnailHeightrecord component. -
thumbnailUrl
@Nullable String thumbnailUrl
The field for thethumbnailUrlrecord component. -
thumbnailWidth
int thumbnailWidth
The field for thethumbnailWidthrecord component. -
title
@NotNull String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultVideo
class InlineQueryResultVideo extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
description
@Nullable String description
The field for thedescriptionrecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
mimeType
@NotNull String mimeType
The field for themimeTyperecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
showCaptionAboveMedia
boolean showCaptionAboveMedia
The field for theshowCaptionAboveMediarecord component. -
thumbnailUrl
@NotNull String thumbnailUrl
The field for thethumbnailUrlrecord component. -
title
@NotNull String title
The field for thetitlerecord component. -
videoDuration
int videoDuration
The field for thevideoDurationrecord component. -
videoHeight
int videoHeight
The field for thevideoHeightrecord component. -
videoUrl
@NotNull String videoUrl
The field for thevideoUrlrecord component. -
videoWidth
int videoWidth
The field for thevideoWidthrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InlineQueryResultVoice
class InlineQueryResultVoice extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
id
@NotNull String id
The field for theidrecord component. -
inputMessageContent
@Nullable InputMessageContent inputMessageContent
The field for theinputMessageContentrecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
title
@NotNull String title
The field for thetitlerecord component. -
voiceDuration
int voiceDuration
The field for thevoiceDurationrecord component. -
voiceUrl
@NotNull String voiceUrl
The field for thevoiceUrlrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputChecklist
class InputChecklist extends Record implements Serializable-
Serialized Fields
-
othersCanAddTasks
boolean othersCanAddTasks
The field for theothersCanAddTasksrecord component. -
othersCanMarkTasksAsDone
boolean othersCanMarkTasksAsDone
The field for theothersCanMarkTasksAsDonerecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
tasks
InputChecklistTask[] tasks
The field for thetasksrecord component. -
title
String title
The field for thetitlerecord component. -
titleEntities
@Nullable MessageEntity[] titleEntities
The field for thetitleEntitiesrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputChecklistTask
class InputChecklistTask extends Record implements Serializable-
Serialized Fields
-
id
int id
The field for theidrecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
text
String text
The field for thetextrecord component. -
textEntities
@Nullable MessageEntity[] textEntities
The field for thetextEntitiesrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputContactMessageContent
class InputContactMessageContent extends Record implements Serializable-
Serialized Fields
-
firstName
String firstName
The field for thefirstNamerecord component. -
lastName
@Nullable String lastName
The field for thelastNamerecord component. -
phoneNumber
String phoneNumber
The field for thephoneNumberrecord component. -
vcard
@Nullable String vcard
The field for thevcardrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputFile
class InputFile extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.InputInvoiceMessageContent
class InputInvoiceMessageContent extends Record implements Serializable-
Serialized Fields
-
currency
String currency
The field for thecurrencyrecord component. -
description
String description
The field for thedescriptionrecord component. -
isFlexible
boolean isFlexible
The field for theisFlexiblerecord component. -
maxTipAmount
int maxTipAmount
The field for themaxTipAmountrecord component. -
needEmail
boolean needEmail
The field for theneedEmailrecord component. -
needName
boolean needName
The field for theneedNamerecord component. -
needPhoneNumber
boolean needPhoneNumber
The field for theneedPhoneNumberrecord component. -
needShippingAddress
boolean needShippingAddress
The field for theneedShippingAddressrecord component. -
payload
String payload
The field for thepayloadrecord component. -
photoHeight
int photoHeight
The field for thephotoHeightrecord component. -
photoSize
int photoSize
The field for thephotoSizerecord component. -
photoUrl
@Nullable String photoUrl
The field for thephotoUrlrecord component. -
photoWidth
int photoWidth
The field for thephotoWidthrecord component. -
prices
List<LabeledPrice> prices
The field for thepricesrecord component. -
providerData
@Nullable String providerData
The field for theproviderDatarecord component. -
providerToken
@Nullable String providerToken
The field for theproviderTokenrecord component. -
sendEmailToProvider
boolean sendEmailToProvider
The field for thesendEmailToProviderrecord component. -
sendPhoneNumberToProvider
boolean sendPhoneNumberToProvider
The field for thesendPhoneNumberToProviderrecord component. -
suggestedTipAmounts
@Nullable List<Integer> suggestedTipAmounts
The field for thesuggestedTipAmountsrecord component. -
title
String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputLocationMessageContent
class InputLocationMessageContent extends Record implements Serializable-
Serialized Fields
-
heading
int heading
The field for theheadingrecord component. -
horizontalAccuracy
@Nullable Float horizontalAccuracy
The field for thehorizontalAccuracyrecord component. -
latitude
float latitude
The field for thelatituderecord component. -
livePeriod
int livePeriod
The field for thelivePeriodrecord component. -
longitude
float longitude
The field for thelongituderecord component. -
proximityAlertRadius
int proximityAlertRadius
The field for theproximityAlertRadiusrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputMediaAnimation
class InputMediaAnimation extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
duration
int duration
The field for thedurationrecord component. -
hasSpoiler
boolean hasSpoiler
The field for thehasSpoilerrecord component. -
height
int height
The field for theheightrecord component. -
media
@NotNull InputFile media
The field for themediarecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
showCaptionAboveMedia
boolean showCaptionAboveMedia
The field for theshowCaptionAboveMediarecord component. -
thumbnail
@Nullable InputFile thumbnail
The field for thethumbnailrecord component. -
width
int width
The field for thewidthrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputMediaAudio
class InputMediaAudio extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
disableContentTypeDetection
boolean disableContentTypeDetection
The field for thedisableContentTypeDetectionrecord component. -
media
@NotNull InputFile media
The field for themediarecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
thumbnail
@Nullable InputFile thumbnail
The field for thethumbnailrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputMediaDocument
class InputMediaDocument extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
disableContentTypeDetection
boolean disableContentTypeDetection
The field for thedisableContentTypeDetectionrecord component. -
media
@NotNull InputFile media
The field for themediarecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
thumbnail
@Nullable InputFile thumbnail
The field for thethumbnailrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputMediaPhoto
class InputMediaPhoto extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
hasSpoiler
boolean hasSpoiler
The field for thehasSpoilerrecord component. -
media
@NotNull InputFile media
The field for themediarecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
showCaptionAboveMedia
boolean showCaptionAboveMedia
The field for theshowCaptionAboveMediarecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputMediaVideo
class InputMediaVideo extends Record implements Serializable-
Serialized Fields
-
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
cover
@Nullable InputFile cover
The field for thecoverrecord component. -
duration
int duration
The field for thedurationrecord component. -
hasSpoiler
boolean hasSpoiler
The field for thehasSpoilerrecord component. -
height
int height
The field for theheightrecord component. -
media
@NotNull InputFile media
The field for themediarecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component. -
showCaptionAboveMedia
boolean showCaptionAboveMedia
The field for theshowCaptionAboveMediarecord component. -
startTimestamp
int startTimestamp
The field for thestartTimestamprecord component. -
supportStreaming
boolean supportStreaming
The field for thesupportStreamingrecord component. -
thumbnail
@Nullable InputFile thumbnail
The field for thethumbnailrecord component. -
width
int width
The field for thewidthrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputPaidMediaPhoto
class InputPaidMediaPhoto extends Record implements Serializable-
Serialized Fields
-
media
@NotNull InputFile media
The field for themediarecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputPaidMediaVideo
class InputPaidMediaVideo extends Record implements Serializable-
Serialized Fields
-
cover
@Nullable InputFile cover
The field for thecoverrecord component. -
duration
int duration
The field for thedurationrecord component. -
height
int height
The field for theheightrecord component. -
media
@NotNull InputFile media
The field for themediarecord component. -
startTimestamp
int startTimestamp
The field for thestartTimestamprecord component. -
supportsStreaming
boolean supportsStreaming
The field for thesupportsStreamingrecord component. -
thumbnail
@Nullable InputFile thumbnail
The field for thethumbnailrecord component. -
width
int width
The field for thewidthrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputPollOption
class InputPollOption extends Record implements Serializable-
Serialized Fields
-
text
@NotNull String text
The field for thetextrecord component. -
textEntities
@Nullable MessageEntity[] textEntities
The field for thetextEntitiesrecord component. -
textParseMode
@Nullable ParseMode textParseMode
The field for thetextParseModerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputProfilePhotoAnimated
class InputProfilePhotoAnimated extends Record implements Serializable-
Serialized Fields
-
animation
@NotNull InputFile animation
The field for theanimationrecord component. -
mainFrameTimestamp
float mainFrameTimestamp
The field for themainFrameTimestamprecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputProfilePhotoStatic
class InputProfilePhotoStatic extends Record implements Serializable-
Serialized Fields
-
photo
@NotNull InputFile photo
The field for thephotorecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputSticker
class InputSticker extends Record implements Serializable-
Serialized Fields
-
emojiList
@Nullable String[] emojiList
The field for theemojiListrecord component. -
format
@NotNull StickerFormat format
The field for theformatrecord component. -
keywords
@Nullable String[] keywords
The field for thekeywordsrecord component. -
maskPosition
@Nullable MaskPosition maskPosition
The field for themaskPositionrecord component. -
sticker
@NotNull InputFile sticker
The field for thestickerrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputStoryContentPhoto
class InputStoryContentPhoto extends Record implements Serializable-
Serialized Fields
-
photo
@NotNull InputFile photo
The field for thephotorecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputStoryContentVideo
class InputStoryContentVideo extends Record implements Serializable-
Serialized Fields
-
coverFrameTimestamp
float coverFrameTimestamp
The field for thecoverFrameTimestamprecord component. -
duration
@org.jetbrains.annotations.Range(from=0L, to=60L) float duration
The field for thedurationrecord component. -
isAnimation
boolean isAnimation
The field for theisAnimationrecord component. -
video
@NotNull InputFile video
The field for thevideorecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputTextMessageContent
class InputTextMessageContent extends Record implements Serializable-
Serialized Fields
-
entities
@Nullable MessageEntity[] entities
The field for theentitiesrecord component. -
linkPreviewOptions
@Nullable LinkPreviewOptions linkPreviewOptions
The field for thelinkPreviewOptionsrecord component. -
messageText
String messageText
The field for themessageTextrecord component. -
parseMode
@Nullable ParseMode parseMode
The field for theparseModerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.InputVenueMessageContent
class InputVenueMessageContent extends Record implements Serializable-
Serialized Fields
-
address
String address
The field for theaddressrecord component. -
foursquareId
@Nullable String foursquareId
The field for thefoursquareIdrecord component. -
foursquareType
@Nullable String foursquareType
The field for thefoursquareTyperecord component. -
googlePlaceId
@Nullable String googlePlaceId
The field for thegooglePlaceIdrecord component. -
googlePlaceType
@Nullable String googlePlaceType
The field for thegooglePlaceTyperecord component. -
latitude
float latitude
The field for thelatituderecord component. -
longitude
float longitude
The field for thelongituderecord component. -
title
String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Invoice
class Invoice extends Record implements Serializable-
Serialized Fields
-
currency
String currency
The field for thecurrencyrecord component. -
description
String description
The field for thedescriptionrecord component. -
startParameter
String startParameter
The field for thestartParameterrecord component. -
title
String title
The field for thetitlerecord component. -
totalAmount
int totalAmount
The field for thetotalAmountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.KeyboardButton
class KeyboardButton extends Record implements Serializable-
Serialized Fields
-
iconCustomEmojiId
@Nullable String iconCustomEmojiId
The field for theiconCustomEmojiIdrecord component. -
requestChat
KeyboardButtonRequestChat requestChat
The field for therequestChatrecord component. -
requestContact
boolean requestContact
The field for therequestContactrecord component. -
requestLocation
boolean requestLocation
The field for therequestLocationrecord component. -
requestPoll
KeyboardButtonPollType requestPoll
The field for therequestPollrecord component. -
requestUsers
KeyboardButtonRequestUsers requestUsers
The field for therequestUsersrecord component. -
style
@Nullable KeyboardButtonStyle style
The field for thestylerecord component. -
text
String text
The field for thetextrecord component. -
webApp
WebAppInfo webApp
The field for thewebApprecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.KeyboardButtonPollType
class KeyboardButtonPollType extends Record implements Serializable-
Serialized Fields
-
type
@Nullable String type
The field for thetyperecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.KeyboardButtonRequestChat
class KeyboardButtonRequestChat extends Record implements Serializable-
Serialized Fields
-
botAdministratorRights
@Nullable ChatAdministratorRights botAdministratorRights
The field for thebotAdministratorRightsrecord component. -
botIsMember
boolean botIsMember
The field for thebotIsMemberrecord component. -
chatHasUsername
boolean chatHasUsername
The field for thechatHasUsernamerecord component. -
chatIsChannel
boolean chatIsChannel
The field for thechatIsChannelrecord component. -
chatIsCreated
boolean chatIsCreated
The field for thechatIsCreatedrecord component. -
chatIsForum
boolean chatIsForum
The field for thechatIsForumrecord component. -
requestId
int requestId
The field for therequestIdrecord component. -
requestPhoto
boolean requestPhoto
The field for therequestPhotorecord component. -
requestTitle
boolean requestTitle
The field for therequestTitlerecord component. -
requestUsername
boolean requestUsername
The field for therequestUsernamerecord component. -
userAdministratorRights
@Nullable ChatAdministratorRights userAdministratorRights
The field for theuserAdministratorRightsrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.KeyboardButtonRequestUsers
class KeyboardButtonRequestUsers extends Record implements Serializable-
Serialized Fields
-
maxQuantity
int maxQuantity
The field for themaxQuantityrecord component. -
requestId
int requestId
The field for therequestIdrecord component. -
requestName
boolean requestName
The field for therequestNamerecord component. -
requestPhoto
boolean requestPhoto
The field for therequestPhotorecord component. -
requestUsername
boolean requestUsername
The field for therequestUsernamerecord component. -
userIsBot
boolean userIsBot
The field for theuserIsBotrecord component. -
userIsPremium
boolean userIsPremium
The field for theuserIsPremiumrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.LinkPreviewOptions
class LinkPreviewOptions extends Record implements Serializable-
Serialized Fields
-
isDisabled
boolean isDisabled
The field for theisDisabledrecord component. -
preferLargeMedia
boolean preferLargeMedia
The field for thepreferLargeMediarecord component. -
preferSmallMedia
boolean preferSmallMedia
The field for thepreferSmallMediarecord component. -
showAboveText
boolean showAboveText
The field for theshowAboveTextrecord component. -
url
@Nullable String url
The field for theurlrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Location
class Location extends Record implements Serializable-
Serialized Fields
-
heading
int heading
The field for theheadingrecord component. -
horizontalAccuracy
@Nullable Float horizontalAccuracy
The field for thehorizontalAccuracyrecord component. -
latitude
Float latitude
The field for thelatituderecord component. -
livePeriod
int livePeriod
The field for thelivePeriodrecord component. -
longitude
Float longitude
The field for thelongituderecord component. -
proximityAlertRadius
int proximityAlertRadius
The field for theproximityAlertRadiusrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.LocationAddress
class LocationAddress extends Record implements Serializable-
Serialized Fields
-
city
@Nullable String city
The field for thecityrecord component. -
countryCode
@NotNull String countryCode
The field for thecountryCoderecord component. -
state
@Nullable String state
The field for thestaterecord component. -
street
@Nullable String street
The field for thestreetrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.LoginUrl
class LoginUrl extends Record implements Serializable-
Serialized Fields
-
botUsername
@Nullable String botUsername
The field for thebotUsernamerecord component. -
forwardText
@Nullable String forwardText
The field for theforwardTextrecord component. -
requestWriteAccess
boolean requestWriteAccess
The field for therequestWriteAccessrecord component. -
url
@NotNull String url
The field for theurlrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.MaskPosition
class MaskPosition extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.MenuButtonCommands
class MenuButtonCommands extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.MenuButtonDefault
class MenuButtonDefault extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.MenuButtonWebApp
class MenuButtonWebApp extends Record implements Serializable-
Serialized Fields
-
text
String text
The field for thetextrecord component. -
webAppInfo
WebAppInfo webAppInfo
The field for thewebAppInforecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Message
class Message extends Record implements Serializable-
Serialized Fields
-
animation
@Nullable Animation animation
The field for theanimationrecord component. -
audio
@Nullable Audio audio
The field for theaudiorecord component. -
authorSignature
@Nullable String authorSignature
The field for theauthorSignaturerecord component. -
boostAdded
@Nullable ChatBoostAdded boostAdded
The field for theboostAddedrecord component. -
businessConnectionId
@Nullable String businessConnectionId
The field for thebusinessConnectionIdrecord component. -
caption
@Nullable String caption
The field for thecaptionrecord component. -
captionEntities
@Nullable MessageEntity[] captionEntities
The field for thecaptionEntitiesrecord component. -
channelChatCreated
boolean channelChatCreated
The field for thechannelChatCreatedrecord component. -
chat
@NotNull Chat chat
The field for thechatrecord component. -
chatBackgroundSet
@Nullable ChatBackground chatBackgroundSet
The field for thechatBackgroundSetrecord component. -
chatOwnerChanged
@Nullable ChatOwnerChanged chatOwnerChanged
The field for thechatOwnerChangedrecord component. -
chatOwnerLeft
@Nullable ChatOwnerLeft chatOwnerLeft
The field for thechatOwnerLeftrecord component. -
chatShared
@Nullable ChatShared chatShared
The field for thechatSharedrecord component. -
checklist
@Nullable Checklist checklist
The field for thechecklistrecord component. -
checklistTasksAdded
@Nullable ChecklistTasksAdded checklistTasksAdded
The field for thechecklistTasksAddedrecord component. -
checklistTasksDone
@Nullable ChecklistTasksDone checklistTasksDone
The field for thechecklistTasksDonerecord component. -
connectedWebsite
@Nullable String connectedWebsite
The field for theconnectedWebsiterecord component. -
contact
@Nullable Contact contact
The field for thecontactrecord component. -
date
@NotNull Date date
The field for thedaterecord component. -
deleteChatPhoto
boolean deleteChatPhoto
The field for thedeleteChatPhotorecord component. -
dice
@Nullable Dice dice
The field for thedicerecord component. -
directMessagePriceChanged
@Nullable DirectMessagePriceChanged directMessagePriceChanged
The field for thedirectMessagePriceChangedrecord component. -
directMessagesTopic
@Nullable DirectMessagesTopic directMessagesTopic
The field for thedirectMessagesTopicrecord component. -
document
@Nullable Document document
The field for thedocumentrecord component. -
editDate
@Nullable Date editDate
The field for theeditDaterecord component. -
effectId
@Nullable String effectId
The field for theeffectIdrecord component. -
entities
@Nullable MessageEntity[] entities
The field for theentitiesrecord component. -
externalReply
@Nullable ExternalReplyInfo externalReply
The field for theexternalReplyrecord component. -
forumTopicClosed
@Nullable ForumTopicClosed forumTopicClosed
The field for theforumTopicClosedrecord component. -
forumTopicCreated
@Nullable ForumTopicCreated forumTopicCreated
The field for theforumTopicCreatedrecord component. -
forumTopicEdited
@Nullable ForumTopicEdited forumTopicEdited
The field for theforumTopicEditedrecord component. -
forumTopicReopened
@Nullable ForumTopicReopened forumTopicReopened
The field for theforumTopicReopenedrecord component. -
forwardOrigin
@Nullable MessageOrigin forwardOrigin
The field for theforwardOriginrecord component. -
from
@Nullable User from
The field for thefromrecord component. -
game
@Nullable Game game
The field for thegamerecord component. -
generalForumTopicHidden
@Nullable GeneralForumTopicHidden generalForumTopicHidden
The field for thegeneralForumTopicHiddenrecord component. -
generalForumTopicUnhidden
@Nullable GeneralForumTopicUnhidden generalForumTopicUnhidden
The field for thegeneralForumTopicUnhiddenrecord component. -
gift
@Nullable GiftInfo gift
The field for thegiftrecord component. -
giftUpgradeSent
@Nullable GiftInfo giftUpgradeSent
The field for thegiftUpgradeSentrecord component. -
giveaway
@Nullable Giveaway giveaway
The field for thegiveawayrecord component. -
giveawayCompleted
@Nullable GiveawayCompleted giveawayCompleted
The field for thegiveawayCompletedrecord component. -
giveawayCreated
@Nullable GiveawayCreated giveawayCreated
The field for thegiveawayCreatedrecord component. -
giveawayWinners
@Nullable GiveawayWinners giveawayWinners
The field for thegiveawayWinnersrecord component. -
groupChatCreated
boolean groupChatCreated
The field for thegroupChatCreatedrecord component. -
hasMediaSpoiler
boolean hasMediaSpoiler
The field for thehasMediaSpoilerrecord component. -
hasProtectedContent
boolean hasProtectedContent
The field for thehasProtectedContentrecord component. -
invoice
@Nullable Invoice invoice
The field for theinvoicerecord component. -
isAutomaticForward
boolean isAutomaticForward
The field for theisAutomaticForwardrecord component. -
isFromOffline
boolean isFromOffline
The field for theisFromOfflinerecord component. -
isPaidPost
boolean isPaidPost
The field for theisPaidPostrecord component. -
isTopicMessage
boolean isTopicMessage
The field for theisTopicMessagerecord component. -
leftChatMember
@Nullable User leftChatMember
The field for theleftChatMemberrecord component. -
linkPreviewOptions
@Nullable LinkPreviewOptions linkPreviewOptions
The field for thelinkPreviewOptionsrecord component. -
location
@Nullable Location location
The field for thelocationrecord component. -
mediaGroupId
@Nullable String mediaGroupId
The field for themediaGroupIdrecord component. -
messageAutoDeleteTimerChanged
@Nullable MessageAutoDeleteTimerChanged messageAutoDeleteTimerChanged
The field for themessageAutoDeleteTimerChangedrecord component. -
messageId
int messageId
The field for themessageIdrecord component. -
messageThreadId
int messageThreadId
The field for themessageThreadIdrecord component. -
migrateFromChatId
@Nullable Long migrateFromChatId
The field for themigrateFromChatIdrecord component. -
migrateToChatId
@Nullable Long migrateToChatId
The field for themigrateToChatIdrecord component. -
newChatMembers
@Nullable User[] newChatMembers
The field for thenewChatMembersrecord component. -
newChatPhoto
@Nullable PhotoSize[] newChatPhoto
The field for thenewChatPhotorecord component. -
newChatTitle
@Nullable String newChatTitle
The field for thenewChatTitlerecord component. -
paidMedia
@Nullable PaidMedia paidMedia
The field for thepaidMediarecord component. -
paidMessagePriceChanged
@Nullable PaidMessagePriceChanged paidMessagePriceChanged
The field for thepaidMessagePriceChangedrecord component. -
paidStarCount
int paidStarCount
The field for thepaidStarCountrecord component. -
passportData
@Nullable PassportData passportData
The field for thepassportDatarecord component. -
photo
@Nullable PhotoSize[] photo
The field for thephotorecord component. -
pinnedMessage
@Nullable MaybeInaccessibleMessage pinnedMessage
The field for thepinnedMessagerecord component. -
poll
@Nullable Poll poll
The field for thepollrecord component. -
proximityAlertTriggered
@Nullable ProximityAlertTriggered proximityAlertTriggered
The field for theproximityAlertTriggeredrecord component. -
quote
@Nullable TextQuote quote
The field for thequoterecord component. -
refundedPayment
@Nullable RefundedPayment refundedPayment
The field for therefundedPaymentrecord component. -
replyMarkup
@Nullable ReplyKeyboard replyMarkup
The field for thereplyMarkuprecord component. -
replyToChecklistTaskId
int replyToChecklistTaskId
The field for thereplyToChecklistTaskIdrecord component. -
replyToMessage
@Nullable Message replyToMessage
The field for thereplyToMessagerecord component. -
replyToStory
@Nullable Story replyToStory
The field for thereplyToStoryrecord component. -
senderBoostCount
int senderBoostCount
The field for thesenderBoostCountrecord component. -
senderBusinessBot
@Nullable User senderBusinessBot
The field for thesenderBusinessBotrecord component. -
senderChat
@Nullable Chat senderChat
The field for thesenderChatrecord component. -
showCaptionAboveMedia
boolean showCaptionAboveMedia
The field for theshowCaptionAboveMediarecord component. -
sticker
@Nullable Sticker sticker
The field for thestickerrecord component. -
story
@Nullable Story story
The field for thestoryrecord component. -
successfulPayment
@Nullable SuccessfulPayment successfulPayment
The field for thesuccessfulPaymentrecord component. -
suggestedPostApprovalFailed
@Nullable SuggestedPostApprovalFailed suggestedPostApprovalFailed
The field for thesuggestedPostApprovalFailedrecord component. -
suggestedPostApproved
@Nullable SuggestedPostApproved suggestedPostApproved
The field for thesuggestedPostApprovedrecord component. -
suggestedPostDeclined
@Nullable SuggestedPostDeclined suggestedPostDeclined
The field for thesuggestedPostDeclinedrecord component. -
suggestedPostPaid
@Nullable SuggestedPostPaid suggestedPostPaid
The field for thesuggestedPostPaidrecord component. -
suggestedPostRefunded
@Nullable SuggestedPostRefunded suggestedPostRefunded
The field for thesuggestedPostRefundedrecord component. -
supergroupChatCreated
boolean supergroupChatCreated
The field for thesupergroupChatCreatedrecord component. -
text
@Nullable String text
The field for thetextrecord component. -
uniqueGift
@Nullable UniqueGiftInfo uniqueGift
The field for theuniqueGiftrecord component. -
userShared
@Nullable UsersShared userShared
The field for theuserSharedrecord component. -
venue
@Nullable Venue venue
The field for thevenuerecord component. -
viaBot
@Nullable User viaBot
The field for theviaBotrecord component. -
video
@Nullable Video video
The field for thevideorecord component. -
videoChatEnded
@Nullable VideoChatEnded videoChatEnded
The field for thevideoChatEndedrecord component. -
videoChatParticipantsInvited
@Nullable VideoChatParticipantsInvited videoChatParticipantsInvited
The field for thevideoChatParticipantsInvitedrecord component. -
videoChatScheduled
@Nullable VideoChatScheduled videoChatScheduled
The field for thevideoChatScheduledrecord component. -
videoChatStarted
@Nullable VideoChatStarted videoChatStarted
The field for thevideoChatStartedrecord component. -
videoNote
@Nullable VideoNote videoNote
The field for thevideoNoterecord component. -
voice
@Nullable Voice voice
The field for thevoicerecord component. -
webAppData
@Nullable WebAppData webAppData
The field for thewebAppDatarecord component. -
writeAccessAllowed
@Nullable WriteAccessAllowed writeAccessAllowed
The field for thewriteAccessAllowedrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.MessageAutoDeleteTimerChanged
class MessageAutoDeleteTimerChanged extends Record implements Serializable-
Serialized Fields
-
messageAutoDeleteTime
int messageAutoDeleteTime
The field for themessageAutoDeleteTimerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.MessageEntity
class MessageEntity extends Record implements Serializable-
Serialized Fields
-
customEmojiId
@Nullable String customEmojiId
The field for thecustomEmojiIdrecord component. -
language
@Nullable String language
The field for thelanguagerecord component. -
length
int length
The field for thelengthrecord component. -
offset
int offset
The field for theoffsetrecord component. -
type
String type
The field for thetyperecord component. -
url
@Nullable String url
The field for theurlrecord component. -
user
@Nullable User user
The field for theuserrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.MessageId
class MessageId extends Record implements Serializable-
Serialized Fields
-
messageId
int messageId
The field for themessageIdrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.MessageOriginChannel
class MessageOriginChannel extends Record implements Serializable-
Serialized Fields
-
chat
@NotNull Chat chat
The field for thechatrecord component. -
date
@NotNull Date date
The field for thedaterecord component. -
messageId
int messageId
The field for themessageIdrecord component. -
senderSignature
@Nullable String senderSignature
The field for thesenderSignaturerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.MessageOriginChat
class MessageOriginChat extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.MessageOriginHiddenUser
class MessageOriginHiddenUser extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.MessageOriginUser
class MessageOriginUser extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.MessageReactionCountUpdated
class MessageReactionCountUpdated extends Record implements Serializable-
Serialized Fields
-
chat
@NotNull Chat chat
The field for thechatrecord component. -
date
int date
The field for thedaterecord component. -
messageId
int messageId
The field for themessageIdrecord component. -
reactions
@NotNull ReactionCount[] reactions
The field for thereactionsrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.MessageReactionUpdated
class MessageReactionUpdated extends Record implements Serializable-
Serialized Fields
-
actorChat
@Nullable Chat actorChat
The field for theactorChatrecord component. -
chat
@NotNull Chat chat
The field for thechatrecord component. -
date
int date
The field for thedaterecord component. -
messageId
int messageId
The field for themessageIdrecord component. -
newReaction
@NotNull ReactionType[] newReaction
The field for thenewReactionrecord component. -
oldReaction
@NotNull ReactionType[] oldReaction
The field for theoldReactionrecord component. -
user
@Nullable User user
The field for theuserrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.OrderInfo
class OrderInfo extends Record implements Serializable-
Serialized Fields
-
email
@Nullable String email
The field for theemailrecord component. -
name
@Nullable String name
The field for thenamerecord component. -
phoneNumber
@Nullable String phoneNumber
The field for thephoneNumberrecord component. -
shippingAddress
@Nullable ShippingAddress shippingAddress
The field for theshippingAddressrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.OwnedGiftRegular
class OwnedGiftRegular extends Record implements Serializable-
Serialized Fields
-
canBeUpgraded
boolean canBeUpgraded
The field for thecanBeUpgradedrecord component. -
convertStarCount
@Nullable Integer convertStarCount
The field for theconvertStarCountrecord component. -
entities
@Nullable MessageEntity[] entities
The field for theentitiesrecord component. -
gift
@NotNull Gift gift
The field for thegiftrecord component. -
isPrivate
boolean isPrivate
The field for theisPrivaterecord component. -
isSaved
boolean isSaved
The field for theisSavedrecord component. -
isUpgradeSeparate
boolean isUpgradeSeparate
The field for theisUpgradeSeparaterecord component. -
ownedGiftId
@Nullable String ownedGiftId
The field for theownedGiftIdrecord component. -
prepaidUpgradeStarCount
@Nullable Integer prepaidUpgradeStarCount
The field for theprepaidUpgradeStarCountrecord component. -
sendDate
@NotNull Date sendDate
The field for thesendDaterecord component. -
senderUser
@Nullable User senderUser
The field for thesenderUserrecord component. -
text
@Nullable String text
The field for thetextrecord component. -
uniqueGiftNumber
int uniqueGiftNumber
The field for theuniqueGiftNumberrecord component. -
wasRefunded
boolean wasRefunded
The field for thewasRefundedrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.OwnedGifts
class OwnedGifts extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.OwnedGiftUnique
class OwnedGiftUnique extends Record implements Serializable-
Serialized Fields
-
canBeTransferred
boolean canBeTransferred
The field for thecanBeTransferredrecord component. -
gift
@NotNull UniqueGift gift
The field for thegiftrecord component. -
isSaved
boolean isSaved
The field for theisSavedrecord component. -
nextTransferDate
@Nullable Date nextTransferDate
The field for thenextTransferDaterecord component. -
ownedGiftId
@Nullable String ownedGiftId
The field for theownedGiftIdrecord component. -
sendDate
@NotNull Date sendDate
The field for thesendDaterecord component. -
senderUser
@Nullable User senderUser
The field for thesenderUserrecord component. -
transferStarCount
@Nullable Integer transferStarCount
The field for thetransferStarCountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.PaidMediaInfo
class PaidMediaInfo extends Record implements Serializable-
Serialized Fields
-
paidMedia
@NotNull PaidMedia[] paidMedia
The field for thepaidMediarecord component. -
startCount
int startCount
The field for thestartCountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.PaidMediaPhoto
class PaidMediaPhoto extends Record implements Serializable-
Serialized Fields
-
photo
@NotNull PhotoSize[] photo
The field for thephotorecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.PaidMediaPreview
class PaidMediaPreview extends Record implements Serializable-
Serialized Fields
-
duration
int duration
The field for thedurationrecord component. -
height
int height
The field for theheightrecord component. -
width
int width
The field for thewidthrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.PaidMediaVideo
class PaidMediaVideo extends Record implements Serializable-
Serialized Fields
-
video
@NotNull Video video
The field for thevideorecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.PaidMessagePriceChanged
class PaidMessagePriceChanged extends Record implements Serializable-
Serialized Fields
-
paidMessageStarCount
int paidMessageStarCount
The field for thepaidMessageStarCountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.PassportData
class PassportData extends Record implements Serializable-
Serialized Fields
-
credentials
EncryptedCredentials credentials
The field for thecredentialsrecord component. -
data
EncryptedPassportElement[] data
The field for thedatarecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.PassportElementErrorDataField
class PassportElementErrorDataField extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.PassportElementErrorFile
class PassportElementErrorFile extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.PassportElementErrorFiles
class PassportElementErrorFiles extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.PassportElementErrorFrontSide
class PassportElementErrorFrontSide extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.PassportElementErrorReverseSide
class PassportElementErrorReverseSide extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.PassportElementErrorSelfie
class PassportElementErrorSelfie extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.PassportElementErrorTranslationFile
class PassportElementErrorTranslationFile extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.PassportElementErrorTranslationFiles
class PassportElementErrorTranslationFiles extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.PassportElementErrorUnspecified
class PassportElementErrorUnspecified extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.PassportFile
class PassportFile extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.PhotoSize
class PhotoSize extends Record implements Serializable-
Serialized Fields
-
fileId
String fileId
The field for thefileIdrecord component. -
fileSize
long fileSize
The field for thefileSizerecord component. -
fileUniqueId
String fileUniqueId
The field for thefileUniqueIdrecord component. -
height
int height
The field for theheightrecord component. -
width
int width
The field for thewidthrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Poll
class Poll extends Record implements Serializable-
Serialized Fields
-
allowsMultipleAnswers
boolean allowsMultipleAnswers
The field for theallowsMultipleAnswersrecord component. -
closeDate
@Nullable Date closeDate
The field for thecloseDaterecord component. -
correctOptionId
int correctOptionId
The field for thecorrectOptionIdrecord component. -
explanation
@Nullable String explanation
The field for theexplanationrecord component. -
explanationEntities
@Nullable MessageEntity[] explanationEntities
The field for theexplanationEntitiesrecord component. -
id
String id
The field for theidrecord component. -
isAnonymous
boolean isAnonymous
The field for theisAnonymousrecord component. -
isClosed
boolean isClosed
The field for theisClosedrecord component. -
openPeriod
int openPeriod
The field for theopenPeriodrecord component. -
options
PollOption[] options
The field for theoptionsrecord component. -
question
String question
The field for thequestionrecord component. -
questionEntities
@Nullable MessageEntity[] questionEntities
The field for thequestionEntitiesrecord component. -
totalVoterCount
int totalVoterCount
The field for thetotalVoterCountrecord component. -
type
String type
The field for thetyperecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.PollAnswer
class PollAnswer extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.PollOption
class PollOption extends Record implements Serializable-
Serialized Fields
-
text
String text
The field for thetextrecord component. -
textEntities
@Nullable MessageEntity[] textEntities
The field for thetextEntitiesrecord component. -
voterCount
int voterCount
The field for thevoterCountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.PreCheckoutQuery
class PreCheckoutQuery extends Record implements Serializable-
Serialized Fields
-
currency
String currency
The field for thecurrencyrecord component. -
from
User from
The field for thefromrecord component. -
id
String id
The field for theidrecord component. -
invoicePayload
String invoicePayload
The field for theinvoicePayloadrecord component. -
orderInfo
@Nullable OrderInfo orderInfo
The field for theorderInforecord component. -
shippingOptionId
@Nullable String shippingOptionId
The field for theshippingOptionIdrecord component. -
totalAmount
int totalAmount
The field for thetotalAmountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.PreparedInlineMessage
class PreparedInlineMessage extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.ProximityAlertTriggered
class ProximityAlertTriggered extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.ReactionCount
class ReactionCount extends Record implements Serializable-
Serialized Fields
-
emoji
@NotNull String emoji
The field for theemojirecord component. -
type
@NotNull ReactionType type
The field for thetyperecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ReactionTypeCustomEmoji
class ReactionTypeCustomEmoji extends Record implements Serializable-
Serialized Fields
-
customEmoji
@NotNull String customEmoji
The field for thecustomEmojirecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ReactionTypeEmoji
class ReactionTypeEmoji extends Record implements Serializable-
Serialized Fields
-
emoji
@NotNull String emoji
The field for theemojirecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ReactionTypePaid
class ReactionTypePaid extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.RefundedPayment
class RefundedPayment extends Record implements Serializable-
Serialized Fields
-
currency
@NotNull String currency
The field for thecurrencyrecord component. -
invoicePayload
@NotNull String invoicePayload
The field for theinvoicePayloadrecord component. -
providerPaymentChargeId
@Nullable String providerPaymentChargeId
The field for theproviderPaymentChargeIdrecord component. -
telegramPaymentChargeId
@NotNull String telegramPaymentChargeId
The field for thetelegramPaymentChargeIdrecord component. -
totalAmount
int totalAmount
The field for thetotalAmountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ReplyKeyboardMarkup
class ReplyKeyboardMarkup extends Record implements Serializable-
Serialized Fields
-
inputFieldPlaceholder
@Nullable String inputFieldPlaceholder
The field for theinputFieldPlaceholderrecord component. -
isPersistent
boolean isPersistent
The field for theisPersistentrecord component. -
keyboard
KeyboardButton[][] keyboard
The field for thekeyboardrecord component. -
oneTimeKeyboard
boolean oneTimeKeyboard
The field for theoneTimeKeyboardrecord component. -
resizeKeyboard
boolean resizeKeyboard
The field for theresizeKeyboardrecord component. -
selective
boolean selective
The field for theselectiverecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ReplyKeyboardRemove
class ReplyKeyboardRemove extends Record implements Serializable-
Serialized Fields
-
removeKeyboard
boolean removeKeyboard
The field for theremoveKeyboardrecord component. -
selective
boolean selective
The field for theselectiverecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ReplyParameters
class ReplyParameters extends Record implements Serializable-
Serialized Fields
-
allowSendingWithoutReply
boolean allowSendingWithoutReply
The field for theallowSendingWithoutReplyrecord component. -
chatId
@Nullable String chatId
The field for thechatIdrecord component. -
checklistTaskId
int checklistTaskId
The field for thechecklistTaskIdrecord component. -
messageId
int messageId
The field for themessageIdrecord component. -
quote
@Nullable String quote
The field for thequoterecord component. -
quoteEntities
@Nullable MessageEntity[] quoteEntities
The field for thequoteEntitiesrecord component. -
quoteParseMode
@Nullable ParseMode quoteParseMode
The field for thequoteParseModerecord component. -
quotePosition
int quotePosition
The field for thequotePositionrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ResponseParameters
class ResponseParameters extends Record implements Serializable-
Serialized Fields
-
migrateToChatId
long migrateToChatId
The field for themigrateToChatIdrecord component. -
retryAfter
int retryAfter
The field for theretryAfterrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.RevenueWithdrawalStateFailed
class RevenueWithdrawalStateFailed extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.RevenueWithdrawalStatePending
class RevenueWithdrawalStatePending extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.RevenueWithdrawalStateSucceeded
class RevenueWithdrawalStateSucceeded extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.SentWebAppMessage
class SentWebAppMessage extends Record implements Serializable-
Serialized Fields
-
inlineMessageId
@Nullable String inlineMessageId
The field for theinlineMessageIdrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ShippingAddress
class ShippingAddress extends Record implements Serializable-
Serialized Fields
-
city
String city
The field for thecityrecord component. -
countryCode
String countryCode
The field for thecountryCoderecord component. -
postCode
String postCode
The field for thepostCoderecord component. -
state
String state
The field for thestaterecord component. -
streetLine1
String streetLine1
The field for thestreetLine1record component. -
streetLine2
String streetLine2
The field for thestreetLine2record component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ShippingOption
class ShippingOption extends Record implements Serializable-
Serialized Fields
-
id
@NotNull String id
The field for theidrecord component. -
prices
@NotNull LabeledPrice[] prices
The field for thepricesrecord component. -
title
@NotNull String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.ShippingQuery
class ShippingQuery extends Record implements Serializable-
Serialized Fields
-
from
User from
The field for thefromrecord component. -
id
String id
The field for theidrecord component. -
invoicePayload
String invoicePayload
The field for theinvoicePayloadrecord component. -
shippingAddress
ShippingAddress shippingAddress
The field for theshippingAddressrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.StarAmount
class StarAmount extends Record implements Serializable-
Serialized Fields
-
amount
int amount
The field for theamountrecord component. -
nanostarAmount
@org.jetbrains.annotations.Range(from=-999999999L, to=999999999L) int nanostarAmount
The field for thenanostarAmountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.StarTransaction
class StarTransaction extends Record implements Serializable-
Serialized Fields
-
amount
int amount
The field for theamountrecord component. -
date
@NotNull Date date
The field for thedaterecord component. -
id
@NotNull String id
The field for theidrecord component. -
nanostarAmount
@org.jetbrains.annotations.Range(from=0L, to=999999999L) int nanostarAmount
The field for thenanostarAmountrecord component. -
receiver
@Nullable TransactionPartner receiver
The field for thereceiverrecord component. -
source
@Nullable TransactionPartner source
The field for thesourcerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.StarTransactions
class StarTransactions extends Record implements Serializable-
Serialized Fields
-
transactions
@NotNull StarTransaction[] transactions
The field for thetransactionsrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Sticker
class Sticker extends Record implements Serializable-
Serialized Fields
-
customEmojiId
@Nullable String customEmojiId
The field for thecustomEmojiIdrecord component. -
emoji
@Nullable String emoji
The field for theemojirecord component. -
fileId
String fileId
The field for thefileIdrecord component. -
fileSize
@Nullable Long fileSize
The field for thefileSizerecord component. -
fileUniqueId
String fileUniqueId
The field for thefileUniqueIdrecord component. -
height
int height
The field for theheightrecord component. -
isAnimated
boolean isAnimated
The field for theisAnimatedrecord component. -
isVideo
boolean isVideo
The field for theisVideorecord component. -
maskPosition
@Nullable MaskPosition maskPosition
The field for themaskPositionrecord component. -
needsRepainting
boolean needsRepainting
The field for theneedsRepaintingrecord component. -
premiumAnnotation
@Nullable File premiumAnnotation
The field for thepremiumAnnotationrecord component. -
setName
@Nullable String setName
The field for thesetNamerecord component. -
thumbnail
@Nullable PhotoSize thumbnail
The field for thethumbnailrecord component. -
type
String type
The field for thetyperecord component. -
width
int width
The field for thewidthrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.StickerSet
class StickerSet extends Record implements Serializable-
Serialized Fields
-
name
@NotNull String name
The field for thenamerecord component. -
stickers
@NotNull Sticker[] stickers
The field for thestickersrecord component. -
stickerType
@NotNull String stickerType
The field for thestickerTyperecord component. -
thumbnail
@Nullable PhotoSize thumbnail
The field for thethumbnailrecord component. -
title
@NotNull String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Story
class Story extends Record implements Serializable-
Serialized Fields
-
chat
@NotNull Chat chat
The field for thechatrecord component. -
id
int id
The field for theidrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.StoryArea
class StoryArea extends Record implements Serializable-
Serialized Fields
-
position
@NotNull StoryAreaPosition position
The field for thepositionrecord component. -
type
@NotNull StoryAreaType type
The field for thetyperecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.StoryAreaPosition
class StoryAreaPosition extends Record implements Serializable-
Serialized Fields
-
cornerRadiusPercentage
float cornerRadiusPercentage
The field for thecornerRadiusPercentagerecord component. -
heightPercentage
float heightPercentage
The field for theheightPercentagerecord component. -
rotationAngle
@org.jetbrains.annotations.Range(from=0L, to=360L) float rotationAngle
The field for therotationAnglerecord component. -
widthPercentage
float widthPercentage
The field for thewidthPercentagerecord component. -
xPercentage
float xPercentage
The field for thexPercentagerecord component. -
yPercentage
float yPercentage
The field for theyPercentagerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.StoryAreaTypeLink
class StoryAreaTypeLink extends Record implements Serializable-
Serialized Fields
-
url
@NotNull String url
The field for theurlrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.StoryAreaTypeLocation
class StoryAreaTypeLocation extends Record implements Serializable-
Serialized Fields
-
address
@Nullable LocationAddress address
The field for theaddressrecord component. -
latitude
float latitude
The field for thelatituderecord component. -
longitude
float longitude
The field for thelongituderecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.StoryAreaTypeSuggestedReaction
class StoryAreaTypeSuggestedReaction extends Record implements Serializable-
Serialized Fields
-
isDark
boolean isDark
The field for theisDarkrecord component. -
isFlipped
boolean isFlipped
The field for theisFlippedrecord component. -
reactionType
@NotNull ReactionType reactionType
The field for thereactionTyperecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.StoryAreaTypeUniqueGift
class StoryAreaTypeUniqueGift extends Record implements Serializable-
Serialized Fields
-
name
@NotNull String name
The field for thenamerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.StoryAreaTypeWeather
class StoryAreaTypeWeather extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.SuccessfulPayment
class SuccessfulPayment extends Record implements Serializable-
Serialized Fields
-
currency
String currency
The field for thecurrencyrecord component. -
invoicePayload
String invoicePayload
The field for theinvoicePayloadrecord component. -
isFirstRecurring
boolean isFirstRecurring
The field for theisFirstRecurringrecord component. -
isRecurring
boolean isRecurring
The field for theisRecurringrecord component. -
orderInfo
@Nullable OrderInfo orderInfo
The field for theorderInforecord component. -
providerPaymentChargeId
String providerPaymentChargeId
The field for theproviderPaymentChargeIdrecord component. -
shippingOptionId
@Nullable String shippingOptionId
The field for theshippingOptionIdrecord component. -
subscriptionExpirationDate
@Nullable Date subscriptionExpirationDate
The field for thesubscriptionExpirationDaterecord component. -
telegramPaymentChargeId
String telegramPaymentChargeId
The field for thetelegramPaymentChargeIdrecord component. -
totalAmount
int totalAmount
The field for thetotalAmountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.SuggestedPostApprovalFailed
class SuggestedPostApprovalFailed extends Record implements Serializable-
Serialized Fields
-
price
@NotNull SuggestedPostPrice price
The field for thepricerecord component. -
suggestedPostMessage
@Nullable Message suggestedPostMessage
The field for thesuggestedPostMessagerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.SuggestedPostApproved
class SuggestedPostApproved extends Record implements Serializable-
Serialized Fields
-
price
@Nullable SuggestedPostPrice price
The field for thepricerecord component. -
sendDate
Date sendDate
The field for thesendDaterecord component. -
suggestedPostMessage
@Nullable Message suggestedPostMessage
The field for thesuggestedPostMessagerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.SuggestedPostDeclined
class SuggestedPostDeclined extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.SuggestedPostInfo
class SuggestedPostInfo extends Record implements Serializable-
Serialized Fields
-
price
@Nullable SuggestedPostPrice price
The field for thepricerecord component. -
sendDate
@Nullable Date sendDate
The field for thesendDaterecord component. -
state
@NotNull SuggestedPostState state
The field for thestaterecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.SuggestedPostPaid
class SuggestedPostPaid extends Record implements Serializable-
Serialized Fields
-
amount
int amount
The field for theamountrecord component. -
currency
@NotNull TelegramCurrency currency
The field for thecurrencyrecord component. -
starAmount
@Nullable StarAmount starAmount
The field for thestarAmountrecord component. -
suggestedPostMessage
@Nullable Message suggestedPostMessage
The field for thesuggestedPostMessagerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.SuggestedPostParameters
class SuggestedPostParameters extends Record implements Serializable-
Serialized Fields
-
price
@Nullable SuggestedPostPrice price
The field for thepricerecord component. -
sendDate
int sendDate
The field for thesendDaterecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.SuggestedPostPrice
class SuggestedPostPrice extends Record implements Serializable-
Serialized Fields
-
amount
int amount
The field for theamountrecord component. -
currency
@NotNull TelegramCurrency currency
The field for thecurrencyrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.SuggestedPostRefunded
class SuggestedPostRefunded extends Record implements Serializable-
Serialized Fields
-
reason
@NotNull SuggestedPostRefundReason reason
The field for thereasonrecord component. -
suggestedPostMessage
@Nullable Message suggestedPostMessage
The field for thesuggestedPostMessagerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.SwitchInlineQueryChosenChat
class SwitchInlineQueryChosenChat extends Record implements Serializable-
Serialized Fields
-
allowBotChats
boolean allowBotChats
The field for theallowBotChatsrecord component. -
allowChannelChats
boolean allowChannelChats
The field for theallowChannelChatsrecord component. -
allowGroupChats
boolean allowGroupChats
The field for theallowGroupChatsrecord component. -
allowUserChats
boolean allowUserChats
The field for theallowUserChatsrecord component. -
query
@Nullable String query
The field for thequeryrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.TextQuote
class TextQuote extends Record implements Serializable-
Serialized Fields
-
entities
@Nullable MessageEntity[] entities
The field for theentitiesrecord component. -
isManual
boolean isManual
The field for theisManualrecord component. -
position
int position
The field for thepositionrecord component. -
text
@NotNull String text
The field for thetextrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.TransactionPartnerAffiliateProgram
class TransactionPartnerAffiliateProgram extends Record implements Serializable-
Serialized Fields
-
commissionPerMille
int commissionPerMille
The field for thecommissionPerMillerecord component. -
sponsorUser
@Nullable User sponsorUser
The field for thesponsorUserrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.TransactionPartnerChat
class TransactionPartnerChat extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.TransactionPartnerFragment
class TransactionPartnerFragment extends Record implements Serializable-
Serialized Fields
-
withdrawalState
@Nullable RevenueWithdrawalState withdrawalState
The field for thewithdrawalStaterecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.TransactionPartnerOther
class TransactionPartnerOther extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.TransactionPartnerTelegramAds
class TransactionPartnerTelegramAds extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.TransactionPartnerTelegramApi
class TransactionPartnerTelegramApi extends Record implements Serializable-
Serialized Fields
-
requestCount
int requestCount
The field for therequestCountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.TransactionPartnerUser
class TransactionPartnerUser extends Record implements Serializable-
Serialized Fields
-
affiliate
@Nullable AffiliateInfo affiliate
The field for theaffiliaterecord component. -
gift
@Nullable Gift gift
The field for thegiftrecord component. -
invoicePayload
@Nullable String invoicePayload
The field for theinvoicePayloadrecord component. -
paidMedia
@Nullable PaidMedia[] paidMedia
The field for thepaidMediarecord component. -
paidMediaPayload
@Nullable String paidMediaPayload
The field for thepaidMediaPayloadrecord component. -
premiumSubscriptionDuration
@Nullable Integer premiumSubscriptionDuration
The field for thepremiumSubscriptionDurationrecord component. -
subscriptionPeriod
int subscriptionPeriod
The field for thesubscriptionPeriodrecord component. -
transactionType
@NotNull TransactionType transactionType
The field for thetransactionTyperecord component. -
user
@NotNull User user
The field for theuserrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.UniqueGift
class UniqueGift extends Record implements Serializable-
Serialized Fields
-
backdrop
@NotNull UniqueGiftBackdrop backdrop
The field for thebackdroprecord component. -
baseName
@NotNull String baseName
The field for thebaseNamerecord component. -
colors
@Nullable UniqueGiftColors colors
The field for thecolorsrecord component. -
giftId
@NotNull String giftId
The field for thegiftIdrecord component. -
isBurned
boolean isBurned
The field for theisBurnedrecord component. -
isFromBlockchain
boolean isFromBlockchain
The field for theisFromBlockchainrecord component. -
isPremium
boolean isPremium
The field for theisPremiumrecord component. -
model
@NotNull UniqueGiftModel model
The field for themodelrecord component. -
name
@NotNull String name
The field for thenamerecord component. -
number
int number
The field for thenumberrecord component. -
publisherChat
@Nullable Chat publisherChat
The field for thepublisherChatrecord component. -
symbol
@NotNull UniqueGiftSymbol symbol
The field for thesymbolrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.UniqueGiftBackdrop
class UniqueGiftBackdrop extends Record implements Serializable-
Serialized Fields
-
colors
@NotNull UniqueGiftBackdropColors colors
The field for thecolorsrecord component. -
name
@NotNull String name
The field for thenamerecord component. -
rarityPerMille
int rarityPerMille
The field for therarityPerMillerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.UniqueGiftBackdropColors
class UniqueGiftBackdropColors extends Record implements Serializable-
Serialized Fields
-
centerColor
@NotNull Color centerColor
The field for thecenterColorrecord component. -
edgeColor
@NotNull Color edgeColor
The field for theedgeColorrecord component. -
symbolColor
@NotNull Color symbolColor
The field for thesymbolColorrecord component. -
textColor
@NotNull Color textColor
The field for thetextColorrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.UniqueGiftColors
class UniqueGiftColors extends Record implements Serializable-
Serialized Fields
-
darkThemeMainColor
Color darkThemeMainColor
The field for thedarkThemeMainColorrecord component. -
darkThemeOtherColors
Color[] darkThemeOtherColors
The field for thedarkThemeOtherColorsrecord component. -
lightThemeMainColor
Color lightThemeMainColor
The field for thelightThemeMainColorrecord component. -
lightThemeOtherColors
Color[] lightThemeOtherColors
The field for thelightThemeOtherColorsrecord component. -
modelCustomEmojiId
String modelCustomEmojiId
The field for themodelCustomEmojiIdrecord component. -
symbolCustomEmojiId
String symbolCustomEmojiId
The field for thesymbolCustomEmojiIdrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.UniqueGiftInfo
class UniqueGiftInfo extends Record implements Serializable-
Serialized Fields
-
gift
@NotNull UniqueGift gift
The field for thegiftrecord component. -
lastResaleAmount
int lastResaleAmount
The field for thelastResaleAmountrecord component. -
lastResaleCurrency
TelegramCurrency lastResaleCurrency
The field for thelastResaleCurrencyrecord component. -
nextTransferDate
@Nullable Date nextTransferDate
The field for thenextTransferDaterecord component. -
origin
@NotNull UniqueGiftOrigin origin
The field for theoriginrecord component. -
ownedGiftId
@Nullable String ownedGiftId
The field for theownedGiftIdrecord component. -
transferStarCount
@Nullable Integer transferStarCount
The field for thetransferStarCountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.UniqueGiftModel
class UniqueGiftModel extends Record implements Serializable-
Serialized Fields
-
name
@NotNull String name
The field for thenamerecord component. -
rarity
@Nullable String rarity
The field for therarityrecord component. -
rarityPerMille
int rarityPerMille
The field for therarityPerMillerecord component. -
sticker
@NotNull Sticker sticker
The field for thestickerrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.UniqueGiftSymbol
class UniqueGiftSymbol extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.Update
class Update extends Record implements Serializable-
Serialized Fields
-
businessConnection
@Nullable BusinessConnection businessConnection
The field for thebusinessConnectionrecord component. -
businessMessage
@Nullable Message businessMessage
The field for thebusinessMessagerecord component. -
callbackQuery
@Nullable CallbackQuery callbackQuery
The field for thecallbackQueryrecord component. -
channelPost
@Nullable Message channelPost
The field for thechannelPostrecord component. -
chatBoost
@Nullable ChatBoostUpdated chatBoost
The field for thechatBoostrecord component. -
chatJoinRequest
@Nullable ChatJoinRequest chatJoinRequest
The field for thechatJoinRequestrecord component. -
chatMember
@Nullable ChatMemberUpdated chatMember
The field for thechatMemberrecord component. -
chosenInlineResult
@Nullable ChosenInlineResult chosenInlineResult
The field for thechosenInlineResultrecord component. -
deletedBusinessMessages
@Nullable BusinessMessagesDeleted deletedBusinessMessages
The field for thedeletedBusinessMessagesrecord component. -
editedBusinessMessage
@Nullable Message editedBusinessMessage
The field for theeditedBusinessMessagerecord component. -
editedChannelPost
@Nullable Message editedChannelPost
The field for theeditedChannelPostrecord component. -
editedMessage
@Nullable Message editedMessage
The field for theeditedMessagerecord component. -
inlineQuery
@Nullable InlineQuery inlineQuery
The field for theinlineQueryrecord component. -
message
@Nullable Message message
The field for themessagerecord component. -
messageReaction
@Nullable MessageReactionUpdated messageReaction
The field for themessageReactionrecord component. -
messageReactionCount
@Nullable MessageReactionCountUpdated messageReactionCount
The field for themessageReactionCountrecord component. -
myChatMember
@Nullable ChatMemberUpdated myChatMember
The field for themyChatMemberrecord component. -
poll
@Nullable Poll poll
The field for thepollrecord component. -
pollAnswer
@Nullable PollAnswer pollAnswer
The field for thepollAnswerrecord component. -
preCheckoutQuery
@Nullable PreCheckoutQuery preCheckoutQuery
The field for thepreCheckoutQueryrecord component. -
purchasedPaidMedia
@Nullable PaidMediaPurchased purchasedPaidMedia
The field for thepurchasedPaidMediarecord component. -
removedChatBoost
@Nullable ChatBoostRemoved removedChatBoost
The field for theremovedChatBoostrecord component. -
shippingQuery
@Nullable ShippingQuery shippingQuery
The field for theshippingQueryrecord component. -
updateId
int updateId
The field for theupdateIdrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.User
class User extends Record implements Serializable-
Serialized Fields
-
addedToAttachmentMenu
boolean addedToAttachmentMenu
The field for theaddedToAttachmentMenurecord component. -
allowsUsersToCreateTopics
boolean allowsUsersToCreateTopics
The field for theallowsUsersToCreateTopicsrecord component. -
canConnectToBusiness
boolean canConnectToBusiness
The field for thecanConnectToBusinessrecord component. -
canJoinGroups
boolean canJoinGroups
The field for thecanJoinGroupsrecord component. -
canReadAllGroupMessages
boolean canReadAllGroupMessages
The field for thecanReadAllGroupMessagesrecord component. -
firstName
String firstName
The field for thefirstNamerecord component. -
hasMainWebApp
boolean hasMainWebApp
The field for thehasMainWebApprecord component. -
hasTopicsEnabled
boolean hasTopicsEnabled
The field for thehasTopicsEnabledrecord component. -
id
Long id
The field for theidrecord component. -
isBot
boolean isBot
The field for theisBotrecord component. -
isPremium
boolean isPremium
The field for theisPremiumrecord component. -
language_code
@Nullable String language_code
The field for thelanguage_coderecord component. -
lastName
@Nullable String lastName
The field for thelastNamerecord component. -
supportsInlineQueries
boolean supportsInlineQueries
The field for thesupportsInlineQueriesrecord component. -
username
@Nullable String username
The field for theusernamerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.UserChatBoosts
class UserChatBoosts extends Record implements Serializable-
Serialized Fields
-
boosts
@NotNull ChatBoost[] boosts
The field for theboostsrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.UserProfileAudios
class UserProfileAudios extends Record implements Serializable-
Serialized Fields
-
audios
@NotNull Audio[] audios
The field for theaudiosrecord component. -
name
int name
The field for thenamerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.UserProfilePhotos
class UserProfilePhotos extends Record implements Serializable-
Serialized Fields
-
photos
@NotNull PhotoSize[][] photos
The field for thephotosrecord component. -
totalCount
int totalCount
The field for thetotalCountrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.UserRating
class UserRating extends Record implements Serializable-
Serialized Fields
-
currentLevelRating
int currentLevelRating
The field for thecurrentLevelRatingrecord component. -
level
int level
The field for thelevelrecord component. -
nextLevelRating
int nextLevelRating
The field for thenextLevelRatingrecord component. -
rating
int rating
The field for theratingrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Venue
class Venue extends Record implements Serializable-
Serialized Fields
-
address
String address
The field for theaddressrecord component. -
foursquareId
@Nullable String foursquareId
The field for thefoursquareIdrecord component. -
foursquareType
@Nullable String foursquareType
The field for thefoursquareTyperecord component. -
googlePlaceId
@Nullable String googlePlaceId
The field for thegooglePlaceIdrecord component. -
googlePlaceType
@Nullable String googlePlaceType
The field for thegooglePlaceTyperecord component. -
location
Location location
The field for thelocationrecord component. -
title
String title
The field for thetitlerecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Video
class Video extends Record implements Serializable-
Serialized Fields
-
cover
@Nullable PhotoSize[] cover
The field for thecoverrecord component. -
duration
int duration
The field for thedurationrecord component. -
fileId
String fileId
The field for thefileIdrecord component. -
fileName
@Nullable String fileName
The field for thefileNamerecord component. -
fileSize
@Nullable Long fileSize
The field for thefileSizerecord component. -
fileUniqueId
String fileUniqueId
The field for thefileUniqueIdrecord component. -
height
int height
The field for theheightrecord component. -
mimeType
@Nullable String mimeType
The field for themimeTyperecord component. -
qualities
@Nullable VideoQuality[] qualities
The field for thequalitiesrecord component. -
startTimestamp
@Nullable Integer startTimestamp
The field for thestartTimestamprecord component. -
thumbnail
@Nullable PhotoSize thumbnail
The field for thethumbnailrecord component. -
width
int width
The field for thewidthrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.VideoChatEnded
class VideoChatEnded extends Record implements Serializable-
Serialized Fields
-
duration
int duration
The field for thedurationrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.VideoChatParticipantsInvited
class VideoChatParticipantsInvited extends Record implements Serializable-
Serialized Fields
-
users
User[] users
The field for theusersrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.VideoChatScheduled
class VideoChatScheduled extends Record implements Serializable-
Serialized Fields
-
startDate
Date startDate
The field for thestartDaterecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.VideoChatStarted
class VideoChatStarted extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.VideoNote
class VideoNote extends Record implements Serializable-
Serialized Fields
-
duration
int duration
The field for thedurationrecord component. -
fileId
String fileId
The field for thefileIdrecord component. -
fileSize
@Nullable Long fileSize
The field for thefileSizerecord component. -
fileUniqueId
String fileUniqueId
The field for thefileUniqueIdrecord component. -
length
int length
The field for thelengthrecord component. -
thumbnail
@Nullable PhotoSize thumbnail
The field for thethumbnailrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.VideoQuality
class VideoQuality extends Record implements Serializable-
Serialized Fields
-
codec
String codec
The field for thecodecrecord component. -
fileId
String fileId
The field for thefileIdrecord component. -
fileSize
long fileSize
The field for thefileSizerecord component. -
fileUniqueId
String fileUniqueId
The field for thefileUniqueIdrecord component. -
height
int height
The field for theheightrecord component. -
width
int width
The field for thewidthrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.Voice
class Voice extends Record implements Serializable-
Serialized Fields
-
duration
int duration
The field for thedurationrecord component. -
fileId
String fileId
The field for thefileIdrecord component. -
fileSize
@Nullable Long fileSize
The field for thefileSizerecord component. -
fileUniqueId
String fileUniqueId
The field for thefileUniqueIdrecord component. -
mimeType
@Nullable String mimeType
The field for themimeTyperecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.WebAppData
class WebAppData extends Record implements Serializable -
Record Class org.teleight.teleightbots.api.objects.WebAppInfo
class WebAppInfo extends Record implements Serializable-
Serialized Fields
-
url
String url
The field for theurlrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.WebhookInfo
class WebhookInfo extends Record implements Serializable-
Serialized Fields
-
allowedUpdates
@Nullable String[] allowedUpdates
The field for theallowedUpdatesrecord component. -
hasCustomCertificate
boolean hasCustomCertificate
The field for thehasCustomCertificaterecord component. -
ipAddress
String ipAddress
The field for theipAddressrecord component. -
lastErrorDate
int lastErrorDate
The field for thelastErrorDaterecord component. -
lastErrorMessage
@Nullable String lastErrorMessage
The field for thelastErrorMessagerecord component. -
lastSynchronizationErrorDate
int lastSynchronizationErrorDate
The field for thelastSynchronizationErrorDaterecord component. -
maxConnections
int maxConnections
The field for themaxConnectionsrecord component. -
pendingUpdateCount
int pendingUpdateCount
The field for thependingUpdateCountrecord component. -
url
String url
The field for theurlrecord component.
-
-
-
Record Class org.teleight.teleightbots.api.objects.WriteAccessAllowed
class WriteAccessAllowed extends Record implements Serializable-
Serialized Fields
-
fromAttachmentMenu
boolean fromAttachmentMenu
The field for thefromAttachmentMenurecord component. -
fromRequest
boolean fromRequest
The field for thefromRequestrecord component. -
webAppName
@Nullable String webAppName
The field for thewebAppNamerecord component.
-
-
-
-
Package org.teleight.teleightbots.commands.builder.exception
-
Exception Class org.teleight.teleightbots.commands.builder.exception.ArgumentSyntaxException
class ArgumentSyntaxException extends RuntimeException implements Serializable-
Serialized Fields
-
input
String input
The input string that caused the exception.
-
-
-
-
Package org.teleight.teleightbots.exception.exceptions
-
Exception Class org.teleight.teleightbots.exception.exceptions.RateLimitException
class RateLimitException extends TelegramRequestException implements Serializable -
Exception Class org.teleight.teleightbots.exception.exceptions.TelegramRequestException
class TelegramRequestException extends RuntimeException implements Serializable-
Serialized Fields
-
errorCode
int errorCode
-
errorDescription
String errorDescription
-
-
-
-
Package org.teleight.teleightbots.files
-
Exception Class org.teleight.teleightbots.files.DownloadFileException
class DownloadFileException extends RuntimeException implements Serializable
-