A short user bio; may be null for bots.
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.
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; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
TdApi.MessageExtendedMediaPhoto.caption
TdApi.MessageExtendedMediaPreview.caption
TdApi.MessageExtendedMediaUnsupported.caption
TdApi.MessageExtendedMediaVideo.caption
Story caption; pass null to use an empty caption; 0-getOption("story_caption_length_max") characters.
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.
Text description of the state of the current Premium subscription; may be empty if the current user has no Telegram Premium subscription.
Text to be shown to the user.
Game text, usually containing scoreboards for a game.
TdApi.GetMarkdownText.text
TdApi.GetWebPagePreview.text
Message text with formatting.
TdApi.InputMessageText.text
Formatted text to be sent; 1-getOption("message_text_length_max") characters.
TdApi.InternalLinkTypeMessageDraft.text
TdApi.TermsOfService.text
Text of the terms of service.
Contains information about a tg: deep link.
Edits the caption of an inline message sent via a bot; for bots only.
Edits the message content caption.
Changes content and caption of a story.
Replaces text entities with Markdown formatting in a human-friendly format.
Returns a web page preview by the text of the message.
An animation message (GIF-style).
A document message (general file).
The link contains a message draft text.
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).
The media is hidden until the invoice is paid.
The media is unsupported.
A message with an invoice from a bot.
Parses Markdown entities in a human-friendly format, ignoring markup errors.
PaymentForm(long id,
TdApi.Invoice invoice,
long sellerBotUserId,
long paymentProviderUserId,
TdApi.PaymentProvider paymentProvider,
TdApi.PaymentOption[] additionalPaymentOptions,
TdApi.OrderInfo savedOrderInfo,
TdApi.SavedCredentials[] savedCredentials,
boolean canSaveCredentials,
boolean needPassword,
String productTitle,
TdApi.FormattedText productDescription,
TdApi.Photo productPhoto)
Contains information about an invoice payment form.
PaymentReceipt(String title,
TdApi.FormattedText description,
TdApi.Photo photo,
int date,
long sellerBotUserId,
long paymentProviderUserId,
TdApi.Invoice invoice,
TdApi.OrderInfo orderInfo,
TdApi.ShippingOption shippingOption,
String credentialsTitle,
long tipAmount)
Contains information about a successful payment.
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.
Sends a new story to a chat; requires canPostStories rights for channel chats.
Sets support information for the given user; for Telegram support only.
Story(int id,
long senderChatId,
int date,
boolean isBeingSent,
boolean isBeingEdited,
boolean isEdited,
boolean isPinned,
boolean isVisibleOnlyForSelf,
boolean canBeDeleted,
boolean canBeEdited,
boolean canBeForwarded,
boolean canBeReplied,
boolean canToggleIsPinned,
boolean canGetViewers,
boolean hasExpiredViewers,
TdApi.StoryInteractionInfo interactionInfo,
TdApi.ReactionType chosenReactionType,
TdApi.StoryPrivacySettings privacySettings,
TdApi.StoryContent content,
TdApi.StoryArea[] areas,
TdApi.FormattedText caption)
Contains Telegram terms of service.
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 hasPinnedStories,
boolean needPhoneNumberPrivacyException,
TdApi.FormattedText bio,
TdApi.PremiumPaymentOption[] premiumGiftOptions,
int groupInCommonCount,
TdApi.BotInfo botInfo)
Contains full information about a user.
Contains custom information about the user.
WebPage(String url,
String displayUrl,
String type,
String siteName,
String title,
TdApi.FormattedText description,
TdApi.Photo photo,
String embedUrl,
String embedType,
int embedWidth,
int embedHeight,
int duration,
String author,
TdApi.Animation animation,
TdApi.Audio audio,
TdApi.Document document,
TdApi.Sticker sticker,
TdApi.Video video,
TdApi.VideoNote videoNote,
TdApi.VoiceNote voiceNote,
long storySenderChatId,
int storyId,
int instantViewVersion)
Describes a web page preview.