Uses of Class
it.tdlight.jni.TdApi.FormattedText
-
Uses of TdApi.FormattedText in it.tdlight.jni
Fields in it.tdlight.jni declared as TdApi.FormattedTextModifier and TypeFieldDescriptionTdApi.UserFullInfo.bio
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.TdApi.EditMessageCaption.caption
New message content caption; 0-getOption("message_caption_length_max") characters; pass null to remove caption.TdApi.EditStory.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.TdApi.InputMessageAudio.caption
Audio caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.TdApi.InputMessageDocument.caption
Document caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.TdApi.InputMessagePhoto.caption
Photo caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.TdApi.InputMessageVideo.caption
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.MessageAnimation.caption
Animation caption.TdApi.MessageAudio.caption
Audio caption.TdApi.MessageDocument.caption
Document caption.TdApi.MessageExtendedMediaPhoto.caption
Photo caption.TdApi.MessageExtendedMediaPreview.caption
Media caption.TdApi.MessageExtendedMediaUnsupported.caption
Media caption.TdApi.MessageExtendedMediaVideo.caption
Photo caption.TdApi.MessagePhoto.caption
Photo caption.TdApi.MessageVideo.caption
Video caption.TdApi.MessageVoiceNote.caption
Voice note caption.TdApi.SendStory.caption
Story caption; pass null to use an empty caption; 0-getOption("story_caption_length_max") characters.TdApi.Story.caption
Caption of the story.TdApi.MessageInvoice.description
Product description.TdApi.PaymentReceipt.description
Product description.TdApi.WebPage.description
Description of the content.TdApi.PollTypeQuiz.explanation
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.TdApi.SetUserSupportInfo.message
New information message.TdApi.UserSupportInfo.message
Information message.TdApi.MessageCopyOptions.newCaption
New message caption; pass null to copy message without caption.TdApi.PaymentForm.productDescription
Product description.TdApi.InputMessageReplyToMessage.quote
Manually chosen quote from the message to be replied; pass null if none; 0-getOption("message_reply_quote_length_max") characters.TdApi.MessageReplyToMessage.quote
Manually or automatically chosen quote from the replied message; may be null if none.TdApi.ResendMessages.quote
New manually chosen quote from the message to be replied; pass null if none.TdApi.SearchQuote.quote
Quote to search for.TdApi.PremiumState.state
Text description of the state of the current Premium subscription; may be empty if the current user has no Telegram Premium subscription.TdApi.DeepLinkInfo.text
Text to be shown to the user.TdApi.Game.text
Game text, usually containing scoreboards for a game.TdApi.GetMarkdownText.text
The text.TdApi.GetWebPagePreview.text
Message text with formatting.TdApi.InputMessageText.text
Formatted text to be sent; 0-getOption("message_text_length_max") characters.TdApi.InternalLinkTypeMessageDraft.text
Message draft text.TdApi.MessageText.text
Text of the message.TdApi.ParseMarkdown.text
The text to parse.TdApi.SearchQuote.text
Text in which to search for the quote.TdApi.TermsOfService.text
Text of the terms of service.TdApi.TranslateText.text
Text to translate.Constructors in it.tdlight.jni with parameters of type TdApi.FormattedTextModifierConstructorDescriptionDeepLinkInfo
(TdApi.FormattedText text, boolean needUpdateApplication) Contains information about a tg: deep link.EditInlineMessageCaption
(String inlineMessageId, TdApi.ReplyMarkup replyMarkup, TdApi.FormattedText caption) Edits the caption of an inline message sent via a bot; for bots only.EditMessageCaption
(long chatId, long messageId, TdApi.ReplyMarkup replyMarkup, TdApi.FormattedText caption) Edits the message content caption.EditStory
(long storySenderChatId, int storyId, TdApi.InputStoryContent content, TdApi.InputStoryAreas areas, TdApi.FormattedText caption) Changes content and caption of a story.Game
(long id, String shortName, String title, TdApi.FormattedText text, String description, TdApi.Photo photo, TdApi.Animation animation) Describes a game.Replaces text entities with Markdown formatting in a human-friendly format.GetWebPagePreview
(TdApi.FormattedText text, TdApi.LinkPreviewOptions linkPreviewOptions) Returns a link preview by the text of a message.InputMessageAnimation
(TdApi.InputFile animation, TdApi.InputThumbnail thumbnail, int[] addedStickerFileIds, int duration, int width, int height, TdApi.FormattedText caption, boolean hasSpoiler) An animation message (GIF-style).InputMessageAudio
(TdApi.InputFile audio, TdApi.InputThumbnail albumCoverThumbnail, int duration, String title, String performer, TdApi.FormattedText caption) An audio message.InputMessageDocument
(TdApi.InputFile document, TdApi.InputThumbnail thumbnail, boolean disableContentTypeDetection, TdApi.FormattedText caption) A document message (general file).InputMessagePhoto
(TdApi.InputFile photo, TdApi.InputThumbnail thumbnail, int[] addedStickerFileIds, int width, int height, TdApi.FormattedText caption, TdApi.MessageSelfDestructType selfDestructType, boolean hasSpoiler) A photo message.InputMessageReplyToMessage
(long chatId, long messageId, TdApi.FormattedText quote) Describes a message to be replied.InputMessageText
(TdApi.FormattedText text, TdApi.LinkPreviewOptions linkPreviewOptions, boolean clearDraft) A text message.InputMessageVideo
(TdApi.InputFile video, TdApi.InputThumbnail thumbnail, int[] addedStickerFileIds, int duration, int width, int height, boolean supportsStreaming, TdApi.FormattedText caption, TdApi.MessageSelfDestructType selfDestructType, boolean hasSpoiler) A video message.InputMessageVoiceNote
(TdApi.InputFile voiceNote, int duration, byte[] waveform, TdApi.FormattedText caption) A voice note message.InternalLinkTypeMessageDraft
(TdApi.FormattedText text, boolean containsLink) The link contains a message draft text.MessageAnimation
(TdApi.Animation animation, TdApi.FormattedText caption, boolean hasSpoiler, boolean isSecret) An animation message (GIF-style).MessageAudio
(TdApi.Audio audio, TdApi.FormattedText caption) An audio message.MessageCopyOptions
(boolean sendCopy, boolean replaceCaption, TdApi.FormattedText newCaption) Options to be used when a message content is copied without reference to the original sender.MessageDocument
(TdApi.Document document, TdApi.FormattedText caption) A document message (general file).MessageExtendedMediaPhoto
(TdApi.Photo photo, TdApi.FormattedText caption) The media is a photo.MessageExtendedMediaPreview
(int width, int height, int duration, TdApi.Minithumbnail minithumbnail, TdApi.FormattedText caption) The media is hidden until the invoice is paid.The media is unsupported.MessageExtendedMediaVideo
(TdApi.Video video, TdApi.FormattedText caption) The media is a video.MessageInvoice
(String title, TdApi.FormattedText description, TdApi.Photo photo, String currency, long totalAmount, String startParameter, boolean isTest, boolean needShippingAddress, long receiptMessageId, TdApi.MessageExtendedMedia extendedMedia) A message with an invoice from a bot.MessagePhoto
(TdApi.Photo photo, TdApi.FormattedText caption, boolean hasSpoiler, boolean isSecret) A photo message.MessageReplyToMessage
(long chatId, long messageId, TdApi.FormattedText quote, boolean isQuoteManual, TdApi.MessageOrigin origin, int originSendDate, TdApi.MessageContent content) Describes a message replied by a given message.MessageText
(TdApi.FormattedText text, TdApi.WebPage webPage, TdApi.LinkPreviewOptions linkPreviewOptions) A text message.MessageVideo
(TdApi.Video video, TdApi.FormattedText caption, boolean hasSpoiler, boolean isSecret) A video message.MessageVoiceNote
(TdApi.VoiceNote voiceNote, TdApi.FormattedText caption, boolean isListened) A voice note message.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.PollTypeQuiz
(int correctOptionId, TdApi.FormattedText explanation) A poll in quiz mode, which has exactly one correct answer option and can be answered only once.PremiumState
(TdApi.FormattedText state, TdApi.PremiumStatePaymentOption[] paymentOptions, TdApi.PremiumFeaturePromotionAnimation[] animations) Contains state of Telegram Premium subscription and promotion videos for Premium features.ResendMessages
(long chatId, long[] messageIds, TdApi.FormattedText quote) Resends messages which failed to send.SearchQuote
(TdApi.FormattedText text, TdApi.FormattedText quote, int quotePosition) Searches for a given quote in a text.SendStory
(long chatId, TdApi.InputStoryContent content, TdApi.InputStoryAreas areas, TdApi.FormattedText caption, TdApi.StoryPrivacySettings privacySettings, int activePeriod, boolean isPinned, boolean protectContent) Sends a new story to a chat; requires canPostStories rights for channel chats.SetUserSupportInfo
(long userId, TdApi.FormattedText message) 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) Represents a story.TermsOfService
(TdApi.FormattedText text, int minUserAge, boolean showPopup) Contains Telegram terms of service.TranslateText
(TdApi.FormattedText text, String toLanguageCode) 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.UserSupportInfo
(TdApi.FormattedText message, String author, int date) 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, boolean hasLargeMedia, boolean showLargeMedia, boolean skipConfirmation, boolean showAboveText, 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 link preview.