Serialized Form
-
Package io.github.natanimn.telebof.exceptions
-
Exception Class io.github.natanimn.telebof.exceptions.BadRequest
class BadRequest extends TelegramApiException implements Serializable -
Exception Class io.github.natanimn.telebof.exceptions.ConnectionError
class ConnectionError extends RuntimeException implements Serializable -
Exception Class io.github.natanimn.telebof.exceptions.FloodError
class FloodError extends TelegramApiException implements Serializable -
Exception Class io.github.natanimn.telebof.exceptions.Forbidden
class Forbidden extends TelegramApiException implements Serializable -
Exception Class io.github.natanimn.telebof.exceptions.TelegramApiException
class TelegramApiException extends RuntimeException implements Serializable-
Serialized Fields
-
description
String description
-
errorCode
Integer errorCode
-
name
String name
-
ok
boolean ok
-
parameters
ResponseParameters parameters
-
-
-
Exception Class io.github.natanimn.telebof.exceptions.TelegramError
class TelegramError extends RuntimeException implements Serializable -
Exception Class io.github.natanimn.telebof.exceptions.TimeoutException
class TimeoutException extends RuntimeException implements Serializable
-
-
Package io.github.natanimn.telebof.types
-
Class io.github.natanimn.telebof.types.ReplyParameters
class ReplyParameters extends Object implements Serializable-
Serialized Fields
-
-
-
Package io.github.natanimn.telebof.types.bot
-
Class io.github.natanimn.telebof.types.bot.BotCommand
class BotCommand extends Object implements Serializable -
Class io.github.natanimn.telebof.types.bot.BotCommandScope
class BotCommandScope extends Object implements Serializable-
Serialized Fields
-
type
String type
-
-
-
Class io.github.natanimn.telebof.types.bot.BotCommandScopeAllChatAdministrators
class BotCommandScopeAllChatAdministrators extends BotCommandScope implements Serializable -
Class io.github.natanimn.telebof.types.bot.BotCommandScopeAllGroupChats
class BotCommandScopeAllGroupChats extends BotCommandScope implements Serializable -
Class io.github.natanimn.telebof.types.bot.BotCommandScopeAllPrivateChats
class BotCommandScopeAllPrivateChats extends BotCommandScope implements Serializable -
Class io.github.natanimn.telebof.types.bot.BotCommandScopeChat
class BotCommandScopeChat extends BotCommandScope implements Serializable-
Serialized Fields
-
chatId
Object chatId
-
-
-
Class io.github.natanimn.telebof.types.bot.BotCommandScopeChatAdministrators
class BotCommandScopeChatAdministrators extends BotCommandScope implements Serializable-
Serialized Fields
-
chatId
Object chatId
-
-
-
Class io.github.natanimn.telebof.types.bot.BotCommandScopeChatMember
class BotCommandScopeChatMember extends BotCommandScope implements Serializable-
Serialized Fields
-
chatId
Object chatId
-
-
-
Class io.github.natanimn.telebof.types.bot.BotCommandScopeDefault
class BotCommandScopeDefault extends BotCommandScope implements Serializable
-
-
Package io.github.natanimn.telebof.types.chat_and_user
-
Class io.github.natanimn.telebof.types.chat_and_user.ChatAdministratorRights
class ChatAdministratorRights extends Object implements Serializable-
Serialized Fields
-
canChangeInfo
Boolean canChangeInfo
True, if the user is allowed to change the chat title, photo and other settings -
canDeleteMessages
Boolean canDeleteMessages
True, if the administrator can delete messages of other user -
canDeleteStories
Boolean canDeleteStories
True, if the administrator can delete stories posted by other users -
canEditMessages
Boolean canEditMessages
True, if the administrator can edit messages of other users and can pin messages; for channels only -
canEditStories
Boolean canEditStories
True, if the administrator can edit stories posted by other users, post stories to the chat page, pin chat stories, and access the chat's story archive -
canInviteUsers
Boolean canInviteUsers
True, if the user is allowed to invite new users to the chat -
canManageChat
Boolean canManageChat
True, if the administrator can access the chat event log, get boost list, see hidden supergroup and channel members, report spam messages, ignore slow mode, and send messages to the chat without paying Telegram Stars. Implied by any other administrator privilege. -
canManageDirectMessages
Boolean canManageDirectMessages
True, if the administrator can manage direct messages of the channel and decline suggested posts; for channels only -
canManageTopics
Boolean canManageTopics
True, if the user is allowed to create, rename, close, and reopen forum topics; for supergroups only -
canManageVideoChats
Boolean canManageVideoChats
True, if the administrator can manage video chats -
canPinMessages
Boolean canPinMessages
True, if the user is allowed to pin messages; for groups and supergroups only -
canPostMessages
Boolean canPostMessages
True, if the administrator can post messages in the channel, approve suggested posts, or access channel statistics; for channels only -
canPostStories
Boolean canPostStories
True, if the administrator can post stories to the chat -
canPromoteMembers
Boolean canPromoteMembers
True, if the administrator can add new administrators with a subset of their own privileges or demote administrators that they have promoted, directly or indirectly (promoted by administrators that were appointed by the user) -
canRestrictMembers
Boolean canRestrictMembers
True, if the administrator can restrict, ban or unban chat members, or access supergroup statistics -
isAnonymous
Boolean isAnonymous
True, if the user's presence in the chat is hidden
-
-
-
Class io.github.natanimn.telebof.types.chat_and_user.ChatPermissions
class ChatPermissions extends Object implements Serializable-
Serialized Fields
-
canAddWebPagePreviews
Boolean canAddWebPagePreviews
Optional. True, if the user is allowed to add web page previews to their messages -
canChangeInfo
Boolean canChangeInfo
Optional. True, if the user is allowed to change the chat title, photo and other settings. Ignored in public supergroups -
canInviteUsers
Boolean canInviteUsers
Optional. True, if the user is allowed to invite new users to the chat -
canManageTopics
Boolean canManageTopics
Optional. True, if the user is allowed to create forum topics. If omitted defaults to the value of can_pin_messages -
canPinMessages
Boolean canPinMessages
Optional. True, if the user is allowed to pin messages. Ignored in public supergroups -
canSendAudios
Boolean canSendAudios
Optional. True, if the user is allowed to send audios -
canSendDocuments
Boolean canSendDocuments
Optional. True, if the user is allowed to send documents -
canSendMessages
Boolean canSendMessages
Optional. True, if the user is allowed to send text messages, contacts, giveaways, giveaway winners, invoices, locations and venues -
canSendOtherMessages
Boolean canSendOtherMessages
Optional. True, if the user is allowed to send animations, games, stickers and use inline bots -
canSendPhotos
Boolean canSendPhotos
Optional. True, if the user is allowed to send photos -
canSendPolls
Boolean canSendPolls
Optional. True, if the user is allowed to send polls and checklists -
canSendVideoNotes
Boolean canSendVideoNotes
Optional. True, if the user is allowed to send video notes -
canSendVideos
Boolean canSendVideos
Optional. True, if the user is allowed to send videos -
canSendVoiceNotes
Boolean canSendVoiceNotes
Optional. True, if the user is allowed to send voice notes
-
-
-
-
Package io.github.natanimn.telebof.types.gift_and_giveaway
-
Class io.github.natanimn.telebof.types.gift_and_giveaway.AcceptedGiftTypes
class AcceptedGiftTypes extends Object implements Serializable-
Serialized Fields
-
giftsFromChannels
Boolean giftsFromChannels
True, if transfers of unique gifts from channels are accepted -
limitedGifts
Boolean limitedGifts
True, if limited regular gifts are accepted -
premiumSubscription
Boolean premiumSubscription
True, if a Telegram Premium subscription is accepted -
uniqueGifts
Boolean uniqueGifts
True, if unique gifts or gifts that can be upgraded to unique for free are accepted -
unlimitedGifts
Boolean unlimitedGifts
True, if unlimited regular gifts are accepted
-
-
-
Class io.github.natanimn.telebof.types.gift_and_giveaway.UniqueGiftBackdrop
class UniqueGiftBackdrop extends Object implements Serializable-
Serialized Fields
-
colors
UniqueGiftBackdropColors colors
Colors of the backdrop -
name
String name
Name of the backdrop -
rarityPerMille
Integer rarityPerMille
The number of unique gifts that receive this backdrop for every 1000 gifts upgraded
-
-
-
Class io.github.natanimn.telebof.types.gift_and_giveaway.UniqueGiftBackdropColors
class UniqueGiftBackdropColors extends Object implements Serializable-
Serialized Fields
-
centerColor
Integer centerColor
The color in the center of the backdrop in RGB format -
edgeColor
Integer edgeColor
The color on the edges of the backdrop in RGB format -
symbolColor
Integer symbolColor
The color to be applied to the symbol in RGB format -
textColor
Integer textColor
The color for the text on the backdrop in RGB format
-
-
-
-
Package io.github.natanimn.telebof.types.inline
-
Class io.github.natanimn.telebof.types.inline.InlineQueryResultArticle
class InlineQueryResultArticle extends Object implements Serializable-
Serialized Fields
-
description
String description
-
id
String id
-
inputMessageContent
InputTextMessageContent inputMessageContent
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbnailHeight
Integer thumbnailHeight
-
thumbnailUrl
String thumbnailUrl
-
thumbnailWidth
Integer thumbnailWidth
-
title
String title
-
type
String type
-
url
String url
-
-
-
Class io.github.natanimn.telebof.types.inline.InlineQueryResultAudio
class InlineQueryResultAudio extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultAudio> implements Serializable -
Class io.github.natanimn.telebof.types.inline.InlineQueryResultCachedAudio
class InlineQueryResultCachedAudio extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultCachedAudio> implements Serializable-
Serialized Fields
-
audioFileId
String audioFileId
-
-
-
Class io.github.natanimn.telebof.types.inline.InlineQueryResultCachedDocument
class InlineQueryResultCachedDocument extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultCachedDocument> implements Serializable -
Class io.github.natanimn.telebof.types.inline.InlineQueryResultCachedGif
class InlineQueryResultCachedGif extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultCachedGif> implements Serializable -
Class io.github.natanimn.telebof.types.inline.InlineQueryResultCachedMpeg4Gif
class InlineQueryResultCachedMpeg4Gif extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultCachedMpeg4Gif> implements Serializable -
Class io.github.natanimn.telebof.types.inline.InlineQueryResultCachedPhoto
class InlineQueryResultCachedPhoto extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultCachedPhoto> implements Serializable -
Class io.github.natanimn.telebof.types.inline.InlineQueryResultCachedSticker
class InlineQueryResultCachedSticker extends Object implements Serializable-
Serialized Fields
-
id
String id
-
inputMessageContent
InputTextMessageContent inputMessageContent
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
stickerFileId
String stickerFileId
-
type
String type
-
-
-
Class io.github.natanimn.telebof.types.inline.InlineQueryResultCachedVideo
class InlineQueryResultCachedVideo extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultCachedVideo> implements Serializable -
Class io.github.natanimn.telebof.types.inline.InlineQueryResultCachedVoice
class InlineQueryResultCachedVoice extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultCachedVoice> implements Serializable -
Class io.github.natanimn.telebof.types.inline.InlineQueryResultContact
class InlineQueryResultContact extends Object implements Serializable-
Serialized Fields
-
firstName
String firstName
-
id
String id
-
inputMessageContent
InputTextMessageContent inputMessageContent
-
lastName
String lastName
-
phoneNumber
String phoneNumber
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbnailHeight
Integer thumbnailHeight
-
thumbnailUrl
String thumbnailUrl
-
thumbnailWidth
Integer thumbnailWidth
-
type
String type
-
vcard
String vcard
-
-
-
Class io.github.natanimn.telebof.types.inline.InlineQueryResultDocument
class InlineQueryResultDocument extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultDocument> implements Serializable -
Class io.github.natanimn.telebof.types.inline.InlineQueryResultGame
class InlineQueryResultGame extends Object implements Serializable-
Serialized Fields
-
gameShortName
String gameShortName
-
id
String id
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
type
String type
-
-
-
Class io.github.natanimn.telebof.types.inline.InlineQueryResultGif
class InlineQueryResultGif extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultGif> implements Serializable -
Class io.github.natanimn.telebof.types.inline.InlineQueryResultLocation
class InlineQueryResultLocation extends Object implements Serializable-
Serialized Fields
-
heading
Integer heading
-
horizontalAccuracy
Float horizontalAccuracy
-
id
String id
-
inputMessageContent
InputTextMessageContent inputMessageContent
-
latitude
Double latitude
-
livePeriod
Integer livePeriod
-
longitude
Double longitude
-
proximityAlertRadius
Integer proximityAlertRadius
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbnailHeight
Integer thumbnailHeight
-
thumbnailUrl
String thumbnailUrl
-
thumbnailWidth
Integer thumbnailWidth
-
title
String title
-
type
String type
-
-
-
Class io.github.natanimn.telebof.types.inline.InlineQueryResultMpeg4Gif
class InlineQueryResultMpeg4Gif extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultMpeg4Gif> implements Serializable -
Class io.github.natanimn.telebof.types.inline.InlineQueryResultPhoto
class InlineQueryResultPhoto extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultPhoto> implements Serializable -
Class io.github.natanimn.telebof.types.inline.InlineQueryResultsButton
class InlineQueryResultsButton extends Object implements Serializable-
Serialized Fields
-
startParameter
String startParameter
-
text
String text
-
webAppInfo
WebAppInfo webAppInfo
-
-
-
Class io.github.natanimn.telebof.types.inline.InlineQueryResultVenue
class InlineQueryResultVenue extends Object implements Serializable-
Serialized Fields
-
address
String address
-
foursquareId
String foursquareId
-
foursquareType
String foursquareType
-
googlePlaceId
String googlePlaceId
-
googlePlaceType
String googlePlaceType
-
horizontalAccuracy
Float horizontalAccuracy
-
id
String id
-
inputMessageContent
InputTextMessageContent inputMessageContent
-
latitude
Double latitude
-
longitude
Double longitude
-
replyMarkup
InlineKeyboardMarkup replyMarkup
-
thumbnailHeight
Integer thumbnailHeight
-
thumbnailUrl
String thumbnailUrl
-
thumbnailWidth
Integer thumbnailWidth
-
title
String title
-
type
String type
-
-
-
Class io.github.natanimn.telebof.types.inline.InlineQueryResultVideo
class InlineQueryResultVideo extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultVideo> implements Serializable-
Serialized Fields
-
-
Class io.github.natanimn.telebof.types.inline.InlineQueryResultVoice
class InlineQueryResultVoice extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultVoice> implements Serializable -
Class io.github.natanimn.telebof.types.inline.InputContactMessageContent
class InputContactMessageContent extends Object implements Serializable
-
-
Package io.github.natanimn.telebof.types.input
-
Class io.github.natanimn.telebof.types.input.InputChecklist
class InputChecklist extends Object implements Serializable-
Serialized Fields
-
othersCanAddTasks
Boolean othersCanAddTasks
-
othersCanMarkTasksAsDone
Boolean othersCanMarkTasksAsDone
-
parseMode
ParseMode parseMode
-
tasks
List<InputChecklistTask> tasks
-
title
String title
-
titleEntities
List<MessageEntity> titleEntities
-
-
-
Class io.github.natanimn.telebof.types.input.InputChecklistTask
class InputChecklistTask extends Object implements Serializable-
Serialized Fields
-
id
Integer id
-
parseMode
ParseMode parseMode
-
text
String text
-
textEntities
List<MessageEntity> textEntities
-
-
-
Class io.github.natanimn.telebof.types.input.InputInvoiceMessageContent
class InputInvoiceMessageContent extends Object implements Serializable-
Serialized Fields
-
currency
String currency
-
description
String description
-
isFlexible
Boolean isFlexible
-
maxTipAmount
Integer maxTipAmount
-
needEmail
Boolean needEmail
-
needName
Boolean needName
-
needPhoneNumber
Boolean needPhoneNumber
-
needShippingAddress
Boolean needShippingAddress
-
payload
String payload
-
photoHeight
Integer photoHeight
-
photoSize
Integer photoSize
-
photoUrl
String photoUrl
-
photoWidth
Integer photoWidth
-
prices
List<LabeledPrice> prices
-
providerData
String providerData
-
providerToken
String providerToken
-
sendEmailToProvider
Boolean sendEmailToProvider
-
sendPhoneNumberToProvider
Boolean sendPhoneNumberToProvider
-
suggestedTipAmounts
List<Integer> suggestedTipAmounts
-
title
String title
-
-
-
Class io.github.natanimn.telebof.types.input.InputLocationMessageContent
class InputLocationMessageContent extends Object implements Serializable -
Class io.github.natanimn.telebof.types.input.InputMediaAnimation
-
Class io.github.natanimn.telebof.types.input.InputMediaAudio
-
Class io.github.natanimn.telebof.types.input.InputMediaBuilder
class InputMediaBuilder extends Object implements Serializable -
Class io.github.natanimn.telebof.types.input.InputMediaDocument
-
Class io.github.natanimn.telebof.types.input.InputMediaPhoto
-
Serialized Fields
-
hasSpoiler
Boolean hasSpoiler
-
-
-
Class io.github.natanimn.telebof.types.input.InputMediaVideo
-
Class io.github.natanimn.telebof.types.input.InputPaidMediaPhoto
class InputPaidMediaPhoto extends Object implements Serializable -
Class io.github.natanimn.telebof.types.input.InputPaidMediaVideo
class InputPaidMediaVideo extends Object implements Serializable -
Class io.github.natanimn.telebof.types.input.InputPollOption
class InputPollOption extends Object implements Serializable-
Serialized Fields
-
text
String text
-
textEntities
List<MessageEntity> textEntities
-
textParseMode
ParseMode textParseMode
-
-
-
Class io.github.natanimn.telebof.types.input.InputProfilePhotoAnimated
class InputProfilePhotoAnimated extends Object implements Serializable -
Class io.github.natanimn.telebof.types.input.InputProfilePhotoStatic
class InputProfilePhotoStatic extends Object implements Serializable -
Class io.github.natanimn.telebof.types.input.InputSticker
class InputSticker extends Object implements Serializable-
Serialized Fields
-
emojiList
List<String> emojiList
-
format
StickerFormat format
-
keywords
List<String> keywords
-
maskPosition
MaskPosition maskPosition
-
sticker
String sticker
-
-
-
Class io.github.natanimn.telebof.types.input.InputStoryContentPhoto
class InputStoryContentPhoto extends Object implements Serializable -
Class io.github.natanimn.telebof.types.input.InputStoryContentVideo
class InputStoryContentVideo extends Object implements Serializable -
Class io.github.natanimn.telebof.types.input.InputTextMessageContent
class InputTextMessageContent extends Object implements Serializable-
Serialized Fields
-
entities
List<MessageEntity> entities
-
linkPreviewOptions
LinkPreviewOptions linkPreviewOptions
-
messageText
String messageText
-
parseMode
ParseMode parseMode
-
-
-
-
Package io.github.natanimn.telebof.types.keyboard
-
Class io.github.natanimn.telebof.types.keyboard.ForceReply
class ForceReply extends Object implements Serializable -
Class io.github.natanimn.telebof.types.keyboard.InlineKeyboardButton
class InlineKeyboardButton extends Object implements Serializable-
Serialized Fields
-
callbackData
String callbackData
-
callbackGame
CallbackGame callbackGame
-
copyText
CopyTextButton copyText
-
loginUrl
LoginUrl loginUrl
-
pay
Boolean pay
-
switchInlineQueryChosenChat
SwitchInlineQueryChosenChat switchInlineQueryChosenChat
-
switchInlineQueryCurrentChat
String switchInlineQueryCurrentChat
-
text
String text
-
url
String url
-
wepApp
WebAppInfo wepApp
-
-
-
Class io.github.natanimn.telebof.types.keyboard.InlineKeyboardMarkup
class InlineKeyboardMarkup extends Object implements Serializable-
Serialized Fields
-
inlineKeyboard
List<List<InlineKeyboardButton>> inlineKeyboard
Array of button rows, each represented by an Array ofInlineKeyboardButtonobjects
-
-
-
Class io.github.natanimn.telebof.types.keyboard.KeyboardButton
class KeyboardButton extends Object implements Serializable-
Serialized Fields
-
requestChat
KeyboardButtonRequestChat requestChat
-
requestContact
Boolean requestContact
-
requestLocation
Boolean requestLocation
-
requestPoll
KeyboardButtonPollType requestPoll
-
requestUsers
KeyboardButtonRequestUsers requestUsers
-
text
String text
-
wepApp
WebAppInfo wepApp
-
-
-
Class io.github.natanimn.telebof.types.keyboard.KeyboardButtonPollType
class KeyboardButtonPollType extends Object implements Serializable-
Serialized Fields
-
type
PollType type
-
-
-
Class io.github.natanimn.telebof.types.keyboard.KeyboardButtonRequestChat
class KeyboardButtonRequestChat extends Object implements Serializable-
Serialized Fields
-
botAdministratorRights
ChatAdministratorRights botAdministratorRights
-
botIsMember
Boolean botIsMember
-
chatHasUsername
Boolean chatHasUsername
-
chatIsChannel
Boolean chatIsChannel
-
chatIsCreated
Boolean chatIsCreated
-
chatIsForum
Boolean chatIsForum
-
requestId
Long requestId
-
requestName
Boolean requestName
-
requestPhoto
Boolean requestPhoto
-
requestTitle
Boolean requestTitle
-
requestUsername
Boolean requestUsername
-
userAdministratorRights
ChatAdministratorRights userAdministratorRights
-
-
-
Class io.github.natanimn.telebof.types.keyboard.KeyboardButtonRequestUsers
class KeyboardButtonRequestUsers extends Object implements Serializable -
Class io.github.natanimn.telebof.types.keyboard.LoginUrl
class LoginUrl extends Object implements Serializable -
Class io.github.natanimn.telebof.types.keyboard.MenuButton
class MenuButton extends Object implements Serializable-
Serialized Fields
-
text
String text
-
type
MenuButtonType type
-
webApp
WebAppInfo webApp
-
-
-
Class io.github.natanimn.telebof.types.keyboard.ReplyKeyboardMarkup
class ReplyKeyboardMarkup extends Object implements Serializable -
Class io.github.natanimn.telebof.types.keyboard.ReplyKeyboardRemove
class ReplyKeyboardRemove extends Object implements Serializable-
Serialized Fields
-
removeKeyboard
boolean removeKeyboard
Requests clients to remove the custom keyboard (user will not be able to summon this keyboard; if you want to hide the keyboard from sight but keep it accessible, useReplyKeyboardMarkup.oneTimeKeyboard(boolean)inReplyKeyboardMarkup) -
selective
boolean selective
-
-
-
-
Package io.github.natanimn.telebof.types.media_and_service
-
Class io.github.natanimn.telebof.types.media_and_service.CopyTextButton
class CopyTextButton extends Object implements Serializable-
Serialized Fields
-
text
String text
The text to be copied to the clipboard; 1-256 characters
-
-
-
Class io.github.natanimn.telebof.types.media_and_service.LocationAddress
class LocationAddress extends Object implements Serializable-
Serialized Fields
-
-
Class io.github.natanimn.telebof.types.media_and_service.MaskPosition
class MaskPosition extends Object implements Serializable-
Serialized Fields
-
point
String point
The part of the face relative to which the mask should be placed. One of “forehead”, “eyes”, “mouth”, or “chin”. -
scale
Double scale
Mask scaling coefficient. For example, 2.0 means double size. -
xShift
Double xShift
Shift by X-axis measured in widths of the mask scaled to the face size, from left to right. For example, choosing -1.0 will place mask just to the left of the default mask position. -
yShift
Double yShift
Shift by Y-axis measured in heights of the mask scaled to the face size, from top to bottom. For example, 1.0 will place the mask just below the default mask position.
-
-
-
Class io.github.natanimn.telebof.types.media_and_service.MessageEntity
class MessageEntity extends Object implements Serializable-
Serialized Fields
-
customEmojiId
String customEmojiId
Optional. For “custom_emoji” only, unique identifier of the custom emoji. UseBotContext.getCustomEmojiStickers(java.lang.String[])to get full information about the sticker -
language
String language
Optional. For “pre” only, the programming language of the entity text -
length
Integer length
Length of the entity in UTF-16 code units -
offset
Integer offset
Offset in UTF-16 code units to the start of the entity -
type
EntityType type
Type of the entity. -
url
String url
Optional. For “text_link” only, URL that will be opened after user taps on the text -
user
User user
Optional. For “text_mention” only, the mentioned user
-
-
-
Class io.github.natanimn.telebof.types.media_and_service.MessageOrigin
class MessageOrigin extends Object implements Serializable-
Serialized Fields
-
authorSignature
String authorSignature
For messages originally sent by an anonymous chat administrator, original message author signature, or Signature of the original post author -
date
Integer date
Date the message was sent originally in Unix time -
messageId
Integer messageId
Unique message identifier inside the chat -
senderChat
Chat senderChat
Chat that sent the message originally -
senderUser
User senderUser
User that sent the message originally -
senderUserName
String senderUserName
Name of the user that sent the message originally -
type
MessageOriginType type
Type of the message origin
-
-
-
Class io.github.natanimn.telebof.types.media_and_service.ReactionType
class ReactionType extends Object implements Serializable-
Serialized Fields
-
customEmojiId
String customEmojiId
-
emoji
String emoji
-
type
TypeReaction type
-
-
-
Class io.github.natanimn.telebof.types.media_and_service.SwitchInlineQueryChosenChat
class SwitchInlineQueryChosenChat extends Object implements Serializable-
Serialized Fields
-
allowBotChats
Boolean allowBotChats
Optional. True, if private chats with bots can be chosen -
allowChannelChats
Boolean allowChannelChats
Optional. True, if channel chats can be chosen -
allowGroupChats
Boolean allowGroupChats
Optional. True, if group and supergroup chats can be chosen -
allowUserChats
Boolean allowUserChats
Optional. True, if private chats with users can be chosen -
query
String query
Optional. The default inline query to be inserted in the input field. If left empty, only the bot's username will be inserted
-
-
-
-
Package io.github.natanimn.telebof.types.passport
-
Class io.github.natanimn.telebof.types.passport.PassportElementError
class PassportElementError extends Object implements Serializable-
Serialized Fields
-
dataHash
String dataHash
Base64-encoded data hash -
elementHash
String elementHash
Base64-encoded element hash -
fieldName
String fieldName
Name of the data field which has the error -
fileHash
String fileHash
Base64-encoded file hash -
fileHashes
List<String> fileHashes
List of base64-encoded file hashes -
message
String message
Error message -
source
PassportElementErrorSource source
Error source -
type
Object type
Type of element of the user's Telegram Passport which has the issue. It isPassportElementTypeifPassportElementError.sourceis different fromPassportElementErrorSource.UNSPECIFIED. Otherwise, it is String
-
-
-
Class io.github.natanimn.telebof.types.passport.PassportElementErrorDataField
class PassportElementErrorDataField extends PassportElementError implements Serializable -
Class io.github.natanimn.telebof.types.passport.PassportElementErrorFile
class PassportElementErrorFile extends PassportElementError implements Serializable -
Class io.github.natanimn.telebof.types.passport.PassportElementErrorFiles
class PassportElementErrorFiles extends PassportElementError implements Serializable -
Class io.github.natanimn.telebof.types.passport.PassportElementErrorFrontSide
class PassportElementErrorFrontSide extends PassportElementError implements Serializable -
Class io.github.natanimn.telebof.types.passport.PassportElementErrorReverseSide
class PassportElementErrorReverseSide extends PassportElementError implements Serializable -
Class io.github.natanimn.telebof.types.passport.PassportElementErrorSelfie
class PassportElementErrorSelfie extends PassportElementError implements Serializable -
Class io.github.natanimn.telebof.types.passport.PassportElementErrorTranslationFile
class PassportElementErrorTranslationFile extends PassportElementError implements Serializable -
Class io.github.natanimn.telebof.types.passport.PassportElementErrorTranslationFiles
class PassportElementErrorTranslationFiles extends PassportElementError implements Serializable -
Class io.github.natanimn.telebof.types.passport.PassportElementErrorUnspecified
class PassportElementErrorUnspecified extends PassportElementError implements Serializable
-
-
Package io.github.natanimn.telebof.types.payments
-
Class io.github.natanimn.telebof.types.payments.LabeledPrice
class LabeledPrice extends Object implements Serializable-
Serialized Fields
-
amount
Integer amount
Price of the product in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies). -
label
String label
Portion label
-
-
-
Class io.github.natanimn.telebof.types.payments.ShippingAddress
class ShippingAddress extends Object implements Serializable-
Serialized Fields
-
-
Class io.github.natanimn.telebof.types.payments.ShippingOption
class ShippingOption extends Object implements Serializable-
Serialized Fields
-
id
String id
Shipping option identifier -
prices
List<LabeledPrice> prices
List of price portions -
title
String title
Option title
-
-
-
-
Package io.github.natanimn.telebof.types.story
-
Class io.github.natanimn.telebof.types.story.StoryArea
class StoryArea extends Object implements Serializable-
Serialized Fields
-
position
StoryAreaPosition position
Position of the area -
type
StoryAreaType type
Type of the area
-
-
-
Class io.github.natanimn.telebof.types.story.StoryAreaTypeLink
class StoryAreaTypeLink extends Object implements Serializable -
Class io.github.natanimn.telebof.types.story.StoryAreaTypeLocation
class StoryAreaTypeLocation extends Object implements Serializable-
Serialized Fields
-
address
LocationAddress address
Optional. Address of the location -
latitude
Double latitude
Location latitude in degrees -
longitude
Double longitude
Location longitude in degrees
-
-
-
Class io.github.natanimn.telebof.types.story.StoryAreaTypeSuggestedReaction
class StoryAreaTypeSuggestedReaction extends Object implements Serializable-
Serialized Fields
-
isDark
Boolean isDark
Optional. Pass True if the reaction area has a dark background -
isFlipped
Boolean isFlipped
Optional. Pass True if reaction area corner is flipped -
reactionType
ReactionType reactionType
Type of the reaction -
type
String type
-
-
-
Class io.github.natanimn.telebof.types.story.StoryAreaTypeWeather
class StoryAreaTypeWeather extends Object implements Serializable
-
-
Package io.github.natanimn.telebof.types.suggested
-
Class io.github.natanimn.telebof.types.suggested.SuggestedPostParameters
class SuggestedPostParameters extends Object implements Serializable-
Serialized Fields
-
date
Long date
Optional. Proposed send date of the post. If specified, then the date must be between 300 second and 2678400 seconds (30 days) in the future. If the field is omitted, then the post can be published at any time within 30 days at the sole discretion of the user who approves it. -
price
SuggestedPostPrice price
Optional. Proposed price for the post. If the field is omitted, then the post is unpaid.
-
-
-
Class io.github.natanimn.telebof.types.suggested.SuggestedPostPrice
class SuggestedPostPrice extends Object implements Serializable-
Serialized Fields
-
amount
Long amount
The amount of the currency that will be paid for the post in the smallest units of the currency, i.e. Telegram Stars or nanotoncoins. Currently, price in Telegram Stars must be between 5 and 100000, and price in nanotoncoins must be between 10000000 and 10000000000000. -
currency
String currency
Currency in which the post will be paid. Currently, must be one of "XTR" for Telegram Stars or "TON" for toncoins
-
-
-
-
Package io.github.natanimn.telebof.types.web
-
Class io.github.natanimn.telebof.types.web.WebAppInfo
class WebAppInfo extends Object implements Serializable-
Serialized Fields
-
url
String url
An HTTPS URL of a Web App to be opened with additional data as specified in Initializing Web Apps
-
-
-