A short user bio; may be null for bots.
TdApi.EditBusinessMessageCaption.caption
New message content caption; pass null to remove caption; 0-getOption("message_caption_length_max") characters.
TdApi.EditInlineMessageCaption.caption
New message content caption; pass null to remove caption; 0-getOption("message_caption_length_max") characters.
New message content caption; 0-getOption("message_caption_length_max") characters; pass null to remove caption.
New story caption; pass null to keep the current caption.
TdApi.InputMessageAnimation.caption
Animation caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
Audio caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
Document caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
TdApi.InputMessagePaidMedia.caption
Message caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
Photo caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
Video caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
TdApi.InputMessageVoiceNote.caption
Voice note caption; may be null if empty; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
Story caption; pass null to use an empty caption; 0-getOption("story_caption_length_max") characters; can have entities only if getOption("can_use_text_entities_in_story_caption").
Description of the content.
Text that is shown when the user chooses an incorrect answer or taps on the lamp icon; 0-200 characters with at most 2 line feeds; empty for a yet unanswered poll.
New message caption; pass null to copy message without caption.
List of poll answer options, 2-10 strings 1-100 characters each.
Paid media caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
Extended media caption; may be null if none.
Poll question; 1-255 characters (up to 300 characters for bots).
Poll question; 1-300 characters.
Text description of the state of the current Premium subscription; may be empty if the current user has no Telegram Premium subscription.
TdApi.BusinessChatLink.text
Message draft text that will be added to the input field.
TdApi.BusinessChatLinkInfo.text
Message draft text that must be added to the input field.
Text to be shown to the user.
Game text, usually containing scoreboards for a game.
TdApi.GetLinkPreview.text
Message text with formatting.
TdApi.GetMarkdownText.text
TdApi.InputBusinessChatLink.text
Message draft text that will be added to the input field.
TdApi.InputMessageText.text
Formatted text to be sent; 0-getOption("message_text_length_max") characters.
TdApi.InputTextQuote.text
Text of the quote; 0-getOption("message_reply_quote_length_max") characters.
TdApi.InternalLinkTypeMessageDraft.text
Option text; 1-100 characters.
Text in which to search for the quote.
TdApi.SetMessageFactCheck.text
New text of the fact-check; 0-getOption("fact_check_length_max") characters; pass null to remove it.
TdApi.TermsOfService.text
Text of the terms of service.
Contains information about a business chat link.
Contains information about a business chat link.
Contains information about a tg: deep link.
Creates a function, which edits the caption of a message sent on behalf of a business account; for bots only.
Creates a function, which edits the caption of an inline message sent via a bot; for bots only.
Creates a function, which edits the message content caption.
Creates a function, which changes content and caption of a story.
Describes a fact-check added to the message by an independent checker.
Creates a function, which returns a link preview by the text of a message.
Creates a function, which replaces text entities with Markdown formatting in a human-friendly format.
Describes a business chat link to create or edit.
An animation message (GIF-style).
A document message (general file).
InputMessageInvoice(TdApi.Invoice invoice,
String title,
String description,
String photoUrl,
int photoSize,
int photoWidth,
int photoHeight,
byte[] payload,
String providerToken,
String providerData,
String startParameter,
TdApi.InputPaidMedia paidMedia,
TdApi.FormattedText paidMediaCaption)
A message with an invoice; can be used only by bots.
A message with paid media; can be used only in channel chats with supergroupFullInfo.hasPaidMediaAllowed.
InputMessageVideo(TdApi.InputFile video,
TdApi.InputThumbnail thumbnail,
int[] addedStickerFileIds,
int duration,
int width,
int height,
boolean supportsStreaming,
TdApi.FormattedText caption,
boolean showCaptionAboveMedia,
TdApi.MessageSelfDestructType selfDestructType,
boolean hasSpoiler)
Describes manually chosen quote from another message.
The link contains a message draft text.
LinkPreview(String url,
String displayUrl,
String siteName,
String title,
TdApi.FormattedText description,
TdApi.LinkPreviewType type,
boolean hasLargeMedia,
boolean showLargeMedia,
boolean showMediaAboveDescription,
boolean skipConfirmation,
boolean showAboveText,
int instantViewVersion)
Describes a link preview.
An animation message (GIF-style).
Options to be used when a message content is copied without reference to the original sender.
A document message (general file).
A message with an invoice from a bot.
A message with paid media.
Creates a function, which parses Markdown entities in a human-friendly format, ignoring markup errors.
Describes one answer option of a poll.
A poll in quiz mode, which has exactly one correct answer option and can be answered only once.
Contains state of Telegram Premium subscription and promotion videos for Premium features.
Contains information about a product that can be paid with invoice.
Creates a function, which searches for a given quote in a text.
Creates a function, which sends a new story to a chat; requires canPostStories right for supergroup and channel chats.
Creates a function, which changes the fact-check of a message.
Creates a function, which sets support information for the given user; for Telegram support only.
Story(int id,
long senderChatId,
TdApi.MessageSender senderId,
int date,
boolean isBeingSent,
boolean isBeingEdited,
boolean isEdited,
boolean isPostedToChatPage,
boolean isVisibleOnlyForSelf,
boolean canBeDeleted,
boolean canBeEdited,
boolean canBeForwarded,
boolean canBeReplied,
boolean canToggleIsPostedToChatPage,
boolean canGetStatistics,
boolean canGetInteractions,
boolean hasExpiredViewers,
TdApi.StoryRepostInfo repostInfo,
TdApi.StoryInteractionInfo interactionInfo,
TdApi.ReactionType chosenReactionType,
TdApi.StoryPrivacySettings privacySettings,
TdApi.StoryContent content,
TdApi.StoryArea[] areas,
TdApi.FormattedText caption)
Contains Telegram terms of service.
Describes manually or automatically chosen quote from another message.
Creates a function, which translates a text to the given language.
UserFullInfo(TdApi.ChatPhoto personalPhoto,
TdApi.ChatPhoto photo,
TdApi.ChatPhoto publicPhoto,
TdApi.BlockList blockList,
boolean canBeCalled,
boolean supportsVideoCalls,
boolean hasPrivateCalls,
boolean hasPrivateForwards,
boolean hasRestrictedVoiceAndVideoNoteMessages,
boolean hasPostedToProfileStories,
boolean hasSponsoredMessagesEnabled,
boolean needPhoneNumberPrivacyException,
boolean setChatBackground,
TdApi.FormattedText bio,
TdApi.Birthdate birthdate,
long personalChatId,
TdApi.PremiumPaymentOption[] premiumGiftOptions,
int groupInCommonCount,
TdApi.BusinessInfo businessInfo,
TdApi.BotInfo botInfo)
Contains full information about a user.
Contains custom information about the user.