Serialized Form
- 
Package io.github.natanimn.telebof.exceptions- 
Exception Class io.github.natanimn.telebof.exceptions.BadRequestclass BadRequest extends TelegramApiException implements Serializable
- 
Exception Class io.github.natanimn.telebof.exceptions.ConnectionErrorclass ConnectionError extends RuntimeException implements Serializable
- 
Exception Class io.github.natanimn.telebof.exceptions.FloodErrorclass FloodError extends TelegramApiException implements Serializable
- 
Exception Class io.github.natanimn.telebof.exceptions.Forbiddenclass Forbidden extends TelegramApiException implements Serializable
- 
Exception Class io.github.natanimn.telebof.exceptions.TelegramApiExceptionclass TelegramApiException extends RuntimeException implements Serializable- 
Serialized Fields- 
descriptionString description 
- 
error_codeint error_code 
- 
nameString name 
- 
okboolean ok 
- 
parametersResponseParameters parameters 
 
- 
 
- 
- 
Exception Class io.github.natanimn.telebof.exceptions.TelegramErrorclass TelegramError extends RuntimeException implements Serializable
 
- 
- 
Package io.github.natanimn.telebof.types- 
Class io.github.natanimn.telebof.types.ReplyParametersclass ReplyParameters extends Object implements Serializable- 
Serialized Fields- 
allow_sending_without_replyBoolean allow_sending_without_reply 
- 
chat_idObject chat_id 
- 
checklist_task_idInteger checklist_task_id 
- 
message_idint message_id 
- 
quoteString quote 
- 
quote_entitiesMessageEntity[] quote_entities 
- 
quote_parse_modeParseMode quote_parse_mode 
- 
quote_positionInteger quote_position 
 
- 
 
- 
 
- 
- 
Package io.github.natanimn.telebof.types.bot- 
Class io.github.natanimn.telebof.types.bot.BotCommandclass BotCommand extends Object implements Serializable
- 
Class io.github.natanimn.telebof.types.bot.BotCommandScopeclass BotCommandScope extends Object implements Serializable- 
Serialized Fields- 
typeString type Scope type
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.bot.BotCommandScopeAllChatAdministratorsclass BotCommandScopeAllChatAdministrators extends BotCommandScope implements Serializable
- 
Class io.github.natanimn.telebof.types.bot.BotCommandScopeAllGroupChatsclass BotCommandScopeAllGroupChats extends BotCommandScope implements Serializable
- 
Class io.github.natanimn.telebof.types.bot.BotCommandScopeAllPrivateChatsclass BotCommandScopeAllPrivateChats extends BotCommandScope implements Serializable
- 
Class io.github.natanimn.telebof.types.bot.BotCommandScopeChatclass BotCommandScopeChat extends BotCommandScope implements Serializable- 
Serialized Fields- 
chat_idObject chat_id 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.bot.BotCommandScopeChatAdministratorsclass BotCommandScopeChatAdministrators extends BotCommandScope implements Serializable- 
Serialized Fields- 
chat_idObject chat_id 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.bot.BotCommandScopeChatMemberclass BotCommandScopeChatMember extends BotCommandScope implements Serializable- 
Serialized Fields- 
chat_idObject chat_id 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.bot.BotCommandScopeDefaultclass BotCommandScopeDefault extends BotCommandScope implements Serializable
 
- 
- 
Package io.github.natanimn.telebof.types.chat_and_user- 
Class io.github.natanimn.telebof.types.chat_and_user.ChatAdministratorRightsclass ChatAdministratorRights extends Object implements Serializable- 
Serialized Fields- 
can_change_infoBoolean can_change_info True, if the user is allowed to change the chat title, photo and other settings
- 
can_delete_messagesBoolean can_delete_messages True, if the administrator can delete messages of other user
- 
can_delete_storiesBoolean can_delete_stories True, if the administrator can delete stories posted by other users
- 
can_edit_messagesBoolean can_edit_messages True, if the administrator can edit messages of other users and can pin messages; for channels only
- 
can_edit_storiesBoolean can_edit_stories 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
- 
can_invite_usersBoolean can_invite_users True, if the user is allowed to invite new users to the chat
- 
can_manage_chatBoolean can_manage_chat 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.
- 
can_manage_direct_messagesBoolean can_manage_direct_messages Optional. True, if the administrator can manage direct messages of the channel and decline suggested posts; for channels only
- 
can_manage_topicsBoolean can_manage_topics True, if the user is allowed to create, rename, close, and reopen forum topics; for supergroups only
- 
can_manage_video_chatsBoolean can_manage_video_chats True, if the administrator can manage video chats
- 
can_pin_messagesBoolean can_pin_messages True, if the user is allowed to pin messages; for groups and supergroups only
- 
can_post_messagesBoolean can_post_messages True, if the administrator can post messages in the channel, approve suggested posts, or access channel statistics; for channels only
- 
can_post_storiesBoolean can_post_stories True, if the administrator can post stories to the chat
- 
can_promote_membersBoolean can_promote_members 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)
- 
can_restrict_membersBoolean can_restrict_members True, if the administrator can restrict, ban or unban chat members, or access supergroup statistics
- 
is_anonymousBoolean is_anonymous True, if the user's presence in the chat is hidden
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.chat_and_user.ChatPermissionsclass ChatPermissions extends Object implements Serializable- 
Serialized Fields- 
can_add_web_page_previewsBoolean can_add_web_page_previews Optional. True, if the user is allowed to add web page previews to their messages
- 
can_change_infoBoolean can_change_info Optional. True, if the user is allowed to change the chat title, photo and other settings. Ignored in public supergroups
- 
can_invite_usersBoolean can_invite_users Optional. True, if the user is allowed to invite new users to the chat
- 
can_manage_topicsBoolean can_manage_topics Optional. True, if the user is allowed to create forum topics. If omitted defaults to the value of can_pin_messages
- 
can_pin_messagesBoolean can_pin_messages Optional. True, if the user is allowed to pin messages. Ignored in public supergroups
- 
can_send_audiosBoolean can_send_audios Optional. True, if the user is allowed to send audios
- 
can_send_documentsBoolean can_send_documents Optional. True, if the user is allowed to send documents
- 
can_send_messagesBoolean can_send_messages Optional. True, if the user is allowed to send text messages, contacts, giveaways, giveaway winners, invoices, locations and venues
- 
can_send_other_messagesBoolean can_send_other_messages Optional. True, if the user is allowed to send animations, games, stickers and use inline bots
- 
can_send_photosBoolean can_send_photos Optional. True, if the user is allowed to send photos
- 
can_send_pollsBoolean can_send_polls Optional. True, if the user is allowed to send polls and checklists
- 
can_send_video_notesBoolean can_send_video_notes Optional. True, if the user is allowed to send video notes
- 
can_send_videosBoolean can_send_videos Optional. True, if the user is allowed to send videos
- 
can_send_voice_notesBoolean can_send_voice_notes 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.AcceptedGiftTypesclass AcceptedGiftTypes extends Object implements Serializable- 
Serialized Fields- 
limited_giftsBoolean limited_gifts True, if limited regular gifts are accepted
- 
premium_subscriptionBoolean premium_subscription True, if a Telegram Premium subscription is accepted
- 
unique_giftsBoolean unique_gifts True, if unique gifts or gifts that can be upgraded to unique for free are accepted
- 
unlimited_giftsBoolean unlimited_gifts True, if unlimited regular gifts are accepted
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.gift_and_giveaway.UniqueGiftBackdropColorsclass UniqueGiftBackdropColors extends Object implements Serializable- 
Serialized Fields- 
center_colorInteger center_color The color in the center of the backdrop in RGB format
- 
edge_colorInteger edge_color The color on the edges of the backdrop in RGB format
- 
symbol_colorInteger symbol_color The color to be applied to the symbol in RGB format
- 
text_colorInteger text_color 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.InlineQueryResultArticleclass InlineQueryResultArticle extends Object implements Serializable- 
Serialized Fields- 
descriptionString description 
- 
idString id 
- 
input_message_contentInputTextMessageContent input_message_content 
- 
reply_markupInlineKeyboardMarkup reply_markup 
- 
thumbnail_heightInteger thumbnail_height 
- 
thumbnail_urlString thumbnail_url 
- 
thumbnail_widthInteger thumbnail_width 
- 
titleString title 
- 
typeString type 
- 
urlString url 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultAudioclass InlineQueryResultAudio extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultAudio> implements Serializable
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultCachedAudioclass InlineQueryResultCachedAudio extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultCachedAudio> implements Serializable- 
Serialized Fields- 
audio_file_idString audio_file_id 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultCachedDocumentclass InlineQueryResultCachedDocument extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultCachedDocument> implements Serializable
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultCachedGifclass InlineQueryResultCachedGif extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultCachedGif> implements Serializable
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultCachedMpeg4Gifclass InlineQueryResultCachedMpeg4Gif extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultCachedMpeg4Gif> implements Serializable
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultCachedPhotoclass InlineQueryResultCachedPhoto extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultCachedPhoto> implements Serializable
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultCachedStickerclass InlineQueryResultCachedSticker extends Object implements Serializable- 
Serialized Fields- 
idString id 
- 
input_message_contentInputTextMessageContent input_message_content 
- 
reply_markupInlineKeyboardMarkup reply_markup 
- 
sticker_file_idString sticker_file_id 
- 
typeString type 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultCachedVideoclass InlineQueryResultCachedVideo extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultCachedVideo> implements Serializable
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultCachedVoiceclass InlineQueryResultCachedVoice extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultCachedVoice> implements Serializable
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultContactclass InlineQueryResultContact extends Object implements Serializable- 
Serialized Fields- 
first_nameString first_name 
- 
idString id 
- 
input_message_contentInputTextMessageContent input_message_content 
- 
last_nameString last_name 
- 
phone_numberString phone_number 
- 
reply_markupInlineKeyboardMarkup reply_markup 
- 
thumbnail_heightInteger thumbnail_height 
- 
thumbnail_urlString thumbnail_url 
- 
thumbnail_widthInteger thumbnail_width 
- 
typeString type 
- 
vcardString vcard 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultDocumentclass InlineQueryResultDocument extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultDocument> implements Serializable
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultGameclass InlineQueryResultGame extends Object implements Serializable- 
Serialized Fields- 
game_short_nameString game_short_name 
- 
idString id 
- 
reply_markupInlineKeyboardMarkup reply_markup 
- 
typeString type 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultGifclass InlineQueryResultGif extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultGif> implements Serializable
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultLocationclass InlineQueryResultLocation extends Object implements Serializable- 
Serialized Fields- 
headingInteger heading 
- 
horizontal_accuracyFloat horizontal_accuracy 
- 
idString id 
- 
input_message_contentInputTextMessageContent input_message_content 
- 
latitudeDouble latitude 
- 
live_periodInteger live_period 
- 
locationString location 
- 
longitudeDouble longitude 
- 
proximity_alert_radiusInteger proximity_alert_radius 
- 
reply_markupInlineKeyboardMarkup reply_markup 
- 
thumbnail_heightInteger thumbnail_height 
- 
thumbnail_urlString thumbnail_url 
- 
thumbnail_widthInteger thumbnail_width 
- 
titleString title 
- 
typeString type 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultMpeg4Gifclass InlineQueryResultMpeg4Gif extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultMpeg4Gif> implements Serializable- 
Serialized Fields
 
- 
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultPhotoclass InlineQueryResultPhoto extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultPhoto> implements Serializable
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultsButtonclass InlineQueryResultsButton extends Object implements Serializable- 
Serialized Fields- 
start_parameterString start_parameter 
- 
textString text 
- 
web_app_infoWebAppInfo web_app_info 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultVenueclass InlineQueryResultVenue extends Object implements Serializable- 
Serialized Fields- 
addressString address 
- 
foursquare_idString foursquare_id 
- 
foursquare_typeString foursquare_type 
- 
google_place_idString google_place_id 
- 
google_place_typeString google_place_type 
- 
horizontal_accuracyFloat horizontal_accuracy 
- 
idString id 
- 
input_message_contentInputTextMessageContent input_message_content 
- 
latitudeDouble latitude 
- 
longitudeDouble longitude 
- 
reply_markupInlineKeyboardMarkup reply_markup 
- 
thumbnail_heightInteger thumbnail_height 
- 
thumbnail_urlString thumbnail_url 
- 
thumbnail_widthInteger thumbnail_width 
- 
titleString title 
- 
typeString type 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultVideoclass InlineQueryResultVideo extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultVideo> implements Serializable- 
Serialized Fields- 
descriptionString description 
- 
mime_typeString mime_type 
- 
show_caption_above_mediaBoolean show_caption_above_media 
- 
thumbnail_urlString thumbnail_url 
- 
titleString title 
- 
video_durationInteger video_duration 
- 
video_heightInteger video_height 
- 
video_urlString video_url 
- 
video_widthInteger video_width 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.inline.InlineQueryResultVoiceclass InlineQueryResultVoice extends io.github.natanimn.telebof.types.inline.InlineQueryMediaResult<InlineQueryResultVoice> implements Serializable
- 
Class io.github.natanimn.telebof.types.inline.InputContactMessageContentclass InputContactMessageContent extends Object implements Serializable
 
- 
- 
Package io.github.natanimn.telebof.types.input- 
Class io.github.natanimn.telebof.types.input.InputChecklistclass InputChecklist extends Object implements Serializable- 
Serialized Fields- 
others_can_add_tasksBoolean others_can_add_tasks 
- 
others_can_mark_tasks_as_doneBoolean others_can_mark_tasks_as_done 
- 
parse_modeParseMode parse_mode 
- 
tasksInputChecklistTask[] tasks 
- 
titleString title 
- 
title_entitiesMessageEntity[] title_entities 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.input.InputChecklistTaskclass InputChecklistTask extends Object implements Serializable- 
Serialized Fields- 
idInteger id 
- 
parse_modeParseMode parse_mode 
- 
textString text 
- 
text_entitiesMessageEntity[] text_entities 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.input.InputInvoiceMessageContentclass InputInvoiceMessageContent extends Object implements Serializable- 
Serialized Fields- 
currencyString currency 
- 
descriptionString description 
- 
is_flexibleBoolean is_flexible 
- 
max_tip_amountInteger max_tip_amount 
- 
need_emailBoolean need_email 
- 
need_nameBoolean need_name 
- 
need_phone_numberBoolean need_phone_number 
- 
need_shipping_addressBoolean need_shipping_address 
- 
payloadString payload 
- 
photo_heightInteger photo_height 
- 
photo_sizeInteger photo_size 
- 
photo_urlString photo_url 
- 
photo_widthInteger photo_width 
- 
pricesList<LabeledPrice> prices 
- 
provider_dataString provider_data 
- 
provider_tokenString provider_token 
- 
send_email_to_providerBoolean send_email_to_provider 
- 
send_phone_number_to_providerBoolean send_phone_number_to_provider 
- 
suggested_tip_amountList<Integer> suggested_tip_amount 
- 
titleString title 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.input.InputLocationMessageContentclass 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.InputMediaBuilderclass InputMediaBuilder extends Object implements Serializable
- 
Class io.github.natanimn.telebof.types.input.InputMediaDocument
- 
Class io.github.natanimn.telebof.types.input.InputMediaPhoto- 
Serialized Fields- 
has_spoilerBoolean has_spoiler 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.input.InputMediaVideo
- 
Class io.github.natanimn.telebof.types.input.InputPaidMediaPhotoclass InputPaidMediaPhoto extends Object implements Serializable
- 
Class io.github.natanimn.telebof.types.input.InputPaidMediaVideoclass InputPaidMediaVideo extends Object implements Serializable
- 
Class io.github.natanimn.telebof.types.input.InputPollOptionclass InputPollOption extends Object implements Serializable- 
Serialized Fields- 
textString text 
- 
text_entitiesList<MessageEntity> text_entities 
- 
text_parse_modeParseMode text_parse_mode 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.input.InputProfilePhotoAnimatedclass InputProfilePhotoAnimated extends Object implements Serializable
- 
Class io.github.natanimn.telebof.types.input.InputProfilePhotoStaticclass InputProfilePhotoStatic extends Object implements Serializable
- 
Class io.github.natanimn.telebof.types.input.InputStickerclass InputSticker extends Object implements Serializable- 
Serialized Fields- 
emoji_listList<String> emoji_list 
- 
formatStickerFormat format 
- 
keywordsList<String> keywords 
- 
mask_positionMaskPosition mask_position 
- 
stickerString sticker 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.input.InputStoryContentPhotoclass InputStoryContentPhoto extends Object implements Serializable
- 
Class io.github.natanimn.telebof.types.input.InputStoryContentVideoclass InputStoryContentVideo extends Object implements Serializable
- 
Class io.github.natanimn.telebof.types.input.InputTextMessageContentclass InputTextMessageContent extends Object implements Serializable- 
Serialized Fields- 
entitiesList<MessageEntity> entities 
- 
link_preview_optionsLinkPreviewOptions link_preview_options 
- 
message_textString message_text 
- 
parse_modeParseMode parse_mode 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.input.InputVenueMessageContentclass InputVenueMessageContent extends Object implements Serializable
 
- 
- 
Package io.github.natanimn.telebof.types.keyboard- 
Class io.github.natanimn.telebof.types.keyboard.ForceReplyclass ForceReply extends Object implements Serializable
- 
Class io.github.natanimn.telebof.types.keyboard.InlineKeyboardButtonclass InlineKeyboardButton extends Object implements Serializable- 
Serialized Fields- 
callback_dataString callback_data 
- 
callback_gameCallbackGame callback_game 
- 
copy_textCopyTextButton copy_text 
- 
login_urlLoginUrl login_url 
- 
payBoolean pay 
- 
switch_inline_query_chosen_chatSwitchInlineQueryChosenChat switch_inline_query_chosen_chat 
- 
switch_inline_query_current_chatString switch_inline_query_current_chat 
- 
textString text 
- 
urlString url 
- 
wep_appWebAppInfo wep_app 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.keyboard.InlineKeyboardMarkupclass InlineKeyboardMarkup extends Object implements Serializable- 
Serialized Fields- 
inline_keyboardList<List<InlineKeyboardButton>> inline_keyboard Array of button rows, each represented by an Array ofInlineKeyboardButtonobjects
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.keyboard.KeyboardButtonclass KeyboardButton extends Object implements Serializable- 
Serialized Fields- 
request_chatKeyboardButtonRequestChat request_chat 
- 
request_contactBoolean request_contact 
- 
request_locationBoolean request_location 
- 
request_pollKeyboardButtonPollType request_poll 
- 
request_usersKeyboardButtonRequestUsers request_users 
- 
textString text 
- 
wep_appWebAppInfo wep_app 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.keyboard.KeyboardButtonPollTypeclass KeyboardButtonPollType extends Object implements Serializable- 
Serialized Fields- 
typePollType type 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.keyboard.KeyboardButtonRequestChatclass KeyboardButtonRequestChat extends Object implements Serializable- 
Serialized Fields- 
bot_administrator_rightsChatAdministratorRights bot_administrator_rights 
- 
bot_is_memberBoolean bot_is_member 
- 
chat_has_usernameBoolean chat_has_username 
- 
chat_is_channelBoolean chat_is_channel 
- 
chat_is_createdBoolean chat_is_created 
- 
chat_is_forumBoolean chat_is_forum 
- 
request_idInteger request_id 
- 
request_nameBoolean request_name 
- 
request_photoBoolean request_photo 
- 
request_titleBoolean request_title 
- 
request_usernameBoolean request_username 
- 
user_administrator_rightsChatAdministratorRights user_administrator_rights 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.keyboard.KeyboardButtonRequestUsersclass KeyboardButtonRequestUsers extends Object implements Serializable
- 
Class io.github.natanimn.telebof.types.keyboard.LoginUrlclass LoginUrl extends Object implements Serializable
- 
Class io.github.natanimn.telebof.types.keyboard.MenuButtonclass MenuButton extends Object implements Serializable- 
Serialized Fields- 
textString text 
- 
typeMenuButtonType type 
- 
web_appWebAppInfo web_app 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.keyboard.ReplyKeyboardMarkupclass ReplyKeyboardMarkup extends Object implements Serializable
- 
Class io.github.natanimn.telebof.types.keyboard.ReplyKeyboardRemoveclass ReplyKeyboardRemove extends Object implements Serializable- 
Serialized Fields- 
remove_keyboardboolean remove_keyboard 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)
- 
selectiveboolean selective 
 
- 
 
- 
 
- 
- 
Package io.github.natanimn.telebof.types.media_and_service- 
Class io.github.natanimn.telebof.types.media_and_service.LocationAddressclass LocationAddress extends Object implements Serializable
- 
Class io.github.natanimn.telebof.types.media_and_service.MaskPositionclass MaskPosition extends Object implements Serializable- 
Serialized Fields- 
pointString point The part of the face relative to which the mask should be placed. One of “forehead”, “eyes”, “mouth”, or “chin”.
- 
scaleDouble scale Mask scaling coefficient. For example, 2.0 means double size.
- 
x_shiftDouble x_shift 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.
- 
y_shiftDouble y_shift 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.MessageEntityclass MessageEntity extends Object implements Serializable- 
Serialized Fields- 
custom_emoji_idString custom_emoji_id Optional. For “custom_emoji” only, unique identifier of the custom emoji. UseBotContext.getCustomEmojiStickers(java.lang.String[])to get full information about the sticker
- 
languageString language Optional. For “pre” only, the programming language of the entity text
- 
lengthInteger length Length of the entity in UTF-16 code units
- 
offsetInteger offset Offset in UTF-16 code units to the start of the entity
- 
typeEntityType type Type of the entity.
- 
urlString url Optional. For “text_link” only, URL that will be opened after user taps on the text
- 
userUser user Optional. For “text_mention” only, the mentioned user
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.media_and_service.MessageOriginclass MessageOrigin extends Object implements Serializable- 
Serialized Fields- 
author_signatureString author_signature For messages originally sent by an anonymous chat administrator, original message author signature, or Signature of the original post author
- 
dateInteger date Date the message was sent originally in Unix time
- 
message_idInteger message_id Unique message identifier inside the chat
- 
sender_chatChat sender_chat Chat that sent the message originally
- 
sender_userUser sender_user User that sent the message originally
- 
sender_user_nameString sender_user_name Name of the user that sent the message originally
- 
typeMessageOriginType type Type of the message origin,
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.media_and_service.ReactionTypeclass ReactionType extends Object implements Serializable- 
Serialized Fields- 
custom_emoji_idString custom_emoji_id Custom emoji identifier
- 
emojiString emoji Reaction emoji. Currently, it can be one of "❤", "👍", "👎", "🔥", "🥰", "👏", "😁", "🤔", "🤯", "😱", "🤬", "😢", "🎉", "🤩", "🤮", "💩", "🙏", "👌", "🕊", "🤡", "🥱", "🥴", "😍", "🐳", "❤🔥", "🌚", "🌭", "💯", "🤣", "⚡", "🍌", "🏆", "💔", "🤨", "😐", "🍓", "🍾", "💋", "🖕", "😈", "😴", "😭", "🤓", "👻", "👨💻", "👀", "🎃", "🙈", "😇", "😨", "🤝", "✍", "🤗", "🫡", "🎅", "🎄", "☃", "💅", "🤪", "🗿", "🆒", "💘", "🙉", "🦄", "😘", "💊", "🙊", "😎", "👾", "🤷♂", "🤷", "🤷♀", "😡"
- 
typeTypeReaction type Type of the reaction
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.media_and_service.SwitchInlineQueryChosenChatclass SwitchInlineQueryChosenChat extends Object implements Serializable- 
Serialized Fields- 
allow_bot_chatsBoolean allow_bot_chats Optional. True, if private chats with bots can be chosen
- 
allow_channel_chatsBoolean allow_channel_chats Optional. True, if channel chats can be chosen
- 
allow_group_chatsBoolean allow_group_chats Optional. True, if group and supergroup chats can be chosen
- 
allow_user_chatsBoolean allow_user_chats Optional. True, if private chats with users can be chosen
- 
queryString 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.EncryptedCredentialsclass EncryptedCredentials extends Object implements Serializable- 
Serialized Fields- 
dataString data Base64-encoded encrypted JSON-serialized data with unique user's payload, data hashes and secrets required for EncryptedPassportElement decryption and authentication
- 
hashString hash Base64-encoded data hash for data authentication
- 
secretString secret Base64-encoded secret, encrypted with the bot's public RSA key, required for data decryption
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.passport.EncryptedPassportElementclass EncryptedPassportElement extends Object implements Serializable- 
Serialized Fields- 
dataString data Base64-encoded encrypted Telegram Passport element data provided by the user; available only forPassportElementType.PERSONAL_DETAILS,PassportElementType.PASSPORT,PassportElementType.DRIVER_LICENSE,PassportElementType.IDENTITY_CARD,PassportElementType.INTERNAL_PASSPORTandPassportElementType.ADDRESStypes. Can be decrypted and verified using the accompanyingEncryptedCredentials.
- 
emailString email User's verified email address; available only forPassportElementType.EMAILtype
- 
filesList<PassportFile> files Array of encrypted files with documents provided by the user; available only forPassportElementType.UTILITY_BILL,PassportElementType.BANK_STATEMENT,PassportElementType.RENTAL_AGREEMENT,PassportElementType.PASSPORT_REGISTRATIONandPassportElementType.TEMPORARY_REGISTRATIONtypes. Files can be decrypted and verified using the accompanyingEncryptedCredentials.
- 
front_sidePassportFile front_side Encrypted file with the front side of the document, provided by the user; available only forPassportElementType.PASSPORT,PassportElementType.DRIVER_LICENSE,PassportElementType.IDENTITY_CARDandPassportElementType.INTERNAL_PASSPORT. The file can be decrypted and verified using the accompanyingEncryptedCredentials.
- 
hashString hash Base64-encoded element hash for using inPassportElementErrorUnspecified
- 
phone_numberString phone_number User's verified phone number; available only forPassportElementType.PHONE_NUMBERtype
- 
reverse_sidePassportFile reverse_side Encrypted file with the reverse side of the document, provided by the user; available only forPassportElementType.DRIVER_LICENSEandPassportElementType.IDENTITY_CARD. The file can be decrypted and verified using the accompanyingEncryptedCredentials.
- 
selfiePassportFile selfie Encrypted file with the selfie of the user holding a document, provided by the user; available if requested forPassportElementType.PASSPORT,PassportElementType.DRIVER_LICENSE,PassportElementType.IDENTITY_CARDtypes. The file can be decrypted and verified using the accompanyingEncryptedCredentials.
- 
translationList<PassportFile> translation Array of encrypted files with translated versions of documents provided by the user; available if requested forPassportElementType.PASSPORT,PassportElementType.DRIVER_LICENSE,PassportElementType.IDENTITY_CARD,PassportElementType.INTERNAL_PASSPORT,PassportElementType.UTILITY_BILL,PassportElementType.BANK_STATEMENT,PassportElementType.RENTAL_AGREEMENT,PassportElementType.PASSPORT_REGISTRATIONandPassportElementType.TEMPORARY_REGISTRATIONtypes. Files can be decrypted and verified using the accompanyingEncryptedCredentials.
- 
typePassportElementType type Passport element type
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.passport.PassportDataclass PassportData extends Object implements Serializable- 
Serialized Fields- 
credentialsEncryptedCredentials credentials Encrypted credentials required to decrypt the data
- 
dataList<EncryptedPassportElement> data Array with information about documents and other Telegram Passport elements that was shared with the bot
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.passport.PassportElementErrorclass PassportElementError extends Object implements Serializable- 
Serialized Fields- 
data_hashString data_hash Base64-encoded data hash
- 
element_hashString element_hash Base64-encoded element hash
- 
field_nameString field_name Name of the data field which has the error
- 
file_hashString file_hash Base64-encoded file hash
- 
file_hashesList<String> file_hashes List of base64-encoded file hashes
- 
messageString message Error message
- 
sourcePassportElementErrorSource source Error source
- 
typeObject 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.PassportElementErrorDataFieldclass PassportElementErrorDataField extends PassportElementError implements Serializable
- 
Class io.github.natanimn.telebof.types.passport.PassportElementErrorFileclass PassportElementErrorFile extends PassportElementError implements Serializable
- 
Class io.github.natanimn.telebof.types.passport.PassportElementErrorFilesclass PassportElementErrorFiles extends PassportElementError implements Serializable
- 
Class io.github.natanimn.telebof.types.passport.PassportElementErrorFrontSideclass PassportElementErrorFrontSide extends PassportElementError implements Serializable
- 
Class io.github.natanimn.telebof.types.passport.PassportElementErrorReverseSideclass PassportElementErrorReverseSide extends PassportElementError implements Serializable
- 
Class io.github.natanimn.telebof.types.passport.PassportElementErrorSelfieclass PassportElementErrorSelfie extends PassportElementError implements Serializable
- 
Class io.github.natanimn.telebof.types.passport.PassportElementErrorTranslationFileclass PassportElementErrorTranslationFile extends PassportElementError implements Serializable
- 
Class io.github.natanimn.telebof.types.passport.PassportElementErrorTranslationFilesclass PassportElementErrorTranslationFiles extends PassportElementError implements Serializable
- 
Class io.github.natanimn.telebof.types.passport.PassportElementErrorUnspecifiedclass PassportElementErrorUnspecified extends PassportElementError implements Serializable
- 
Class io.github.natanimn.telebof.types.passport.PassportFileclass PassportFile extends Object implements Serializable- 
Serialized Fields- 
file_dateInteger file_date Unix time when the file was uploaded
- 
file_idString file_id Identifier for this file, which can be used to download or reuse the file
- 
file_sizeInteger file_size File size in bytes
- 
file_unique_idString file_unique_id Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
 
- 
 
- 
 
- 
- 
Package io.github.natanimn.telebof.types.payments- 
Class io.github.natanimn.telebof.types.payments.LabeledPriceclass LabeledPrice extends Object implements Serializable
- 
Class io.github.natanimn.telebof.types.payments.ShippingAddressclass ShippingAddress extends Object implements Serializable- 
Serialized Fields- 
cityString city City
- 
country_codeString country_code Two-letter ISO 3166-1 alpha-2 country code
- 
post_codeString post_code Address of post code
- 
stateString state State, if applicable
- 
street_line1String street_line1 First line for the address
- 
street_line2String street_line2 Second line for the address
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.payments.ShippingOptionclass ShippingOption extends Object implements Serializable- 
Serialized Fields- 
idString id 
- 
pricesList<LabeledPrice> prices 
- 
titleString title 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.payments.SuccessfulPaymentclass SuccessfulPayment extends Object implements Serializable- 
Serialized Fields- 
currencyString currency Three-letter ISO 4217 currency code, or “XTR” for payments in Telegram Stars
- 
invoice_payloadString invoice_payload Bot-specified invoice payload
- 
is_first_recurringBoolean is_first_recurring True, if the payment is the first payment for a subscription
- 
is_recurringBoolean is_recurring True, if the payment is a recurring payment for a subscription
- 
order_infoOrderInfo order_info Order information provided by the user
- 
provider_payment_charge_idString provider_payment_charge_id Provider payment identifier
- 
shipping_option_idString shipping_option_id Identifier of the shipping option chosen by the user
- 
subscription_expiration_dateInteger subscription_expiration_date Expiration date of the subscription, in Unix time; for recurring payments only
- 
telegram_payment_charge_idString telegram_payment_charge_id Telegram payment identifier
- 
total_amountInteger total_amount Total refunded price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45, total_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)
 
- 
 
- 
 
- 
- 
Package io.github.natanimn.telebof.types.story- 
Class io.github.natanimn.telebof.types.story.StoryAreaclass StoryArea extends Object implements Serializable- 
Serialized Fields- 
positionStoryAreaPosition position 
- 
typeStoryAreaType type 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.story.StoryAreaTypeLinkclass StoryAreaTypeLink extends Object implements Serializable
- 
Class io.github.natanimn.telebof.types.story.StoryAreaTypeLocationclass StoryAreaTypeLocation extends Object implements Serializable- 
Serialized Fields- 
addressLocationAddress address 
- 
latitudeDouble latitude 
- 
longitudeDouble longitude 
- 
typeString type 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.story.StoryAreaTypeSuggestedReactionclass StoryAreaTypeSuggestedReaction extends Object implements Serializable- 
Serialized Fields- 
is_darkBoolean is_dark 
- 
is_flippedBoolean is_flipped 
- 
reaction_typeReactionType reaction_type 
- 
typeString type 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.story.StoryAreaTypeWeatherclass StoryAreaTypeWeather extends Object implements Serializable
 
- 
- 
Package io.github.natanimn.telebof.types.suggested- 
Class io.github.natanimn.telebof.types.suggested.SuggestedPostParametersclass SuggestedPostParameters extends Object implements Serializable- 
Serialized Fields- 
dateInteger date 
- 
priceSuggestedPostPrice price 
 
- 
 
- 
- 
Class io.github.natanimn.telebof.types.suggested.SuggestedPostPriceclass SuggestedPostPrice extends Object implements Serializable- 
Serialized Fields- 
amountLong 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.
- 
currencyString 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.WebAppInfoclass WebAppInfo extends Object implements Serializable- 
Serialized Fields- 
urlString url An HTTPS URL of a Web App to be opened with additional data as specified in Initializing Web Apps
 
- 
 
- 
 
-