Uses of Class
org.drinkless.tdlib.TdApi.FormattedText
Packages that use TdApi.FormattedText
-
Uses of TdApi.FormattedText in org.drinkless.tdlib
Fields in org.drinkless.tdlib declared as TdApi.FormattedTextModifier and TypeFieldDescriptionTdApi.UserFullInfo.bioA short user bio; may be null for bots.TdApi.EditBusinessMessageCaption.captionNew message content caption; pass null to remove caption; 0-getOption("message_caption_length_max") characters.TdApi.EditBusinessStory.captionNew story caption.TdApi.EditInlineMessageCaption.captionNew message content caption; pass null to remove caption; 0-getOption("message_caption_length_max") characters.TdApi.EditMessageCaption.captionNew message content caption; 0-getOption("message_caption_length_max") characters; pass null to remove caption.TdApi.EditStory.captionNew story caption; pass null to keep the current caption.TdApi.InputMessageAnimation.captionAnimation caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.TdApi.InputMessageAudio.captionAudio caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.TdApi.InputMessageDocument.captionDocument caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.TdApi.InputMessagePaidMedia.captionMessage caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.TdApi.InputMessagePhoto.captionPhoto caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.TdApi.InputMessageVideo.captionVideo caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.TdApi.InputMessageVoiceNote.captionVoice note caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.TdApi.MessageAnimation.captionAnimation caption.TdApi.MessageAudio.captionAudio caption.TdApi.MessageDocument.captionDocument caption.TdApi.MessagePaidMedia.captionMedia caption.TdApi.MessagePhoto.captionPhoto caption.TdApi.MessageVideo.captionVideo caption.TdApi.MessageVoiceNote.captionVoice note caption.TdApi.PostStory.captionStory 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").TdApi.Story.captionCaption of the story.TdApi.BotVerification.customDescriptionCustom description of verification reason set by the bot.TdApi.BotVerificationParameters.defaultCustomDescriptionDefault custom description of verification reason to be used as placeholder in setMessageSenderBotVerification; may be null if none.TdApi.InputMessagePoll.descriptionPoll description; pass null to use an empty description; 0-getOption("message_caption_length_max") characters.TdApi.LinkPreview.descriptionDescription of the content.TdApi.MessagePoll.descriptionDescription of the poll.TdApi.ProductInfo.descriptionProduct description.TdApi.SuggestedActionCustom.descriptionDescription of the suggestion.TdApi.InputPollTypeQuiz.explanationText 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.TdApi.PollTypeQuiz.explanationText that is shown when the user chooses an incorrect answer or taps on the lamp icon; empty for a yet unanswered poll.TdApi.SetUserSupportInfo.messageNew information message.TdApi.UserSupportInfo.messageInformation message.TdApi.MessageCopyOptions.newCaptionNew message caption; pass null to copy message without caption.TdApi.ImportedContact.noteNote to add about the user; 0-getOption("user_note_text_length_max") characters.TdApi.SetUserNote.noteNote to set for the user; 0-getOption("user_note_text_length_max") characters.TdApi.UserFullInfo.noteNote added to the user's contact; may be null if none.TdApi.InputMessageInvoice.paidMediaCaptionPaid media caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.TdApi.MessageInvoice.paidMediaCaptionExtended media caption; may be null if none.TdApi.InputMessagePoll.questionPoll question; 1-255 characters (up to 300 characters for bots).TdApi.Poll.questionPoll question; 1-300 characters; may contain only custom emoji entities.TdApi.SearchQuote.quoteQuote to search for.TdApi.CanSendGiftResultFail.reasonReason to be shown to the user.TdApi.TextCompositionStyleExample.resultTextThe text after the style was applied to the source text.TdApi.TextCompositionStyleExample.sourceTextSource text.TdApi.PremiumState.stateText description of the state of the current Premium subscription; may be empty if the current user has no Telegram Premium subscription.TdApi.BusinessChatLink.textMessage draft text that will be added to the input field.TdApi.BusinessChatLinkInfo.textMessage draft text that must be added to the input field.TdApi.ChatFolderName.textThe text of the chat folder name; 1-12 characters without line feeds.TdApi.ChecklistTask.textText of the task; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, DateTime and automatically found entities.TdApi.ComposeTextWithAi.textThe original text.TdApi.DeepLinkInfo.textText to be shown to the user.TdApi.DraftMessageContentText.textFormatted text to be saved as a draft; 0-getOption("message_text_length_max") characters.TdApi.FactCheck.textText of the fact-check.TdApi.FixedText.textThe resulting text.TdApi.FixTextWithAi.textThe original text.TdApi.Game.textGame text, usually containing scoreboards for a game.TdApi.GetLinkPreview.textMessage text with formatting.TdApi.GetMarkdownText.textThe text.TdApi.GiftAuctionAcquiredGift.textMessage added to the gift.TdApi.GiftPremiumWithStars.textText to show to the user receiving Telegram Premium; 0-getOption("gift_text_length_max") characters.TdApi.GroupCallMessage.textText of the message.TdApi.InputBusinessChatLink.textMessage draft text that will be added to the input field.TdApi.InputChecklistTask.textText of the task; 1-getOption("checklist_task_text_length_max") characters without line feeds.TdApi.InputMessageText.textFormatted text to be sent; 0-getOption("message_text_length_max") characters.TdApi.InputPollOption.textOption text; 1-100 characters.TdApi.InputTextQuote.textText of the quote; 0-getOption("message_reply_quote_length_max") characters.TdApi.InternalLinkTypeMessageDraft.textMessage draft text.TdApi.MessageGift.textMessage added to the gift.TdApi.MessageGiftedPremium.textMessage added to the gifted Telegram Premium by the sender.TdApi.MessagePollOptionAdded.textText of the option; 1-100 characters; may contain only custom emoji entities.TdApi.MessagePollOptionDeleted.textText of the option; 1-100 characters; may contain only custom emoji entities.TdApi.MessagePremiumGiftCode.textMessage added to the gift.TdApi.MessageText.textText of the message.TdApi.ParseMarkdown.textThe text to parse.TdApi.PlaceGiftAuctionBid.textText to show along with the gift; 0-getOption("gift_text_length_max") characters.TdApi.PollOption.textOption text; 1-100 characters; may contain only custom emoji entities.TdApi.ReceivedGift.textMessage added to the gift.TdApi.SearchQuote.textText in which to search for the quote.TdApi.SendGift.textText to show along with the gift; 0-getOption("gift_text_length_max") characters.TdApi.SendGroupCallMessage.textText of the message to send; 1-getOption("group_call_message_text_length_max") characters for non-live-stories; see updateGroupCallMessageLevels for live story restrictions, which depends on paidMessageStarCount.TdApi.SendTextMessageDraft.textDraft text of the message; pass null to show a "Thinking..." placeholder.TdApi.SetMessageFactCheck.textNew text of the fact-check; 0-getOption("fact_check_length_max") characters; pass null to remove it.TdApi.StorePaymentPurposePremiumGift.textText to show along with the gift codes; 0-getOption("gift_text_length_max") characters.TdApi.StorePaymentPurposePremiumGiftCodes.textText to show along with the gift codes; 0-getOption("gift_text_length_max") characters.TdApi.TelegramPaymentPurposePremiumGift.textText to show to the user receiving Telegram Premium; 0-getOption("gift_text_length_max") characters.TdApi.TelegramPaymentPurposePremiumGiftCodes.textText to show along with the gift codes; 0-getOption("gift_text_length_max") characters.TdApi.TermsOfService.textText of the terms of service.TdApi.TextQuote.textText of the quote.TdApi.TranslateText.textText to translate.TdApi.UpgradedGiftOriginalDetails.textMessage added to the gift.TdApi.Checklist.titleTitle of the checklist; may contain only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities.TdApi.InputChecklist.titleTitle of the checklist; 1-getOption("checklist_title_length_max") characters.TdApi.SuggestedActionCustom.titleTitle of the suggestion.Constructors in org.drinkless.tdlib with parameters of type TdApi.FormattedTextModifierConstructorDescriptionBotVerification(long botUserId, long iconCustomEmojiId, TdApi.FormattedText customDescription) Describes verification status provided by a bot.BotVerificationParameters(long iconCustomEmojiId, String organizationName, TdApi.FormattedText defaultCustomDescription, boolean canSetCustomDescription) Describes parameters of verification that is provided by a bot.BusinessChatLink(String link, TdApi.FormattedText text, String title, int viewCount) Contains information about a business chat link.BusinessChatLinkInfo(long chatId, TdApi.FormattedText text) Contains information about a business chat link.The gift can't be sent now by the current user.ChatFolderName(TdApi.FormattedText text, boolean animateCustomEmoji) Describes name of a chat folder.Checklist(TdApi.FormattedText title, TdApi.ChecklistTask[] tasks, boolean othersCanAddTasks, boolean canAddTasks, boolean othersCanMarkTasksAsDone, boolean canMarkTasksAsDone) Describes a checklist.ChecklistTask(int id, TdApi.FormattedText text, TdApi.MessageSender completedBy, int completionDate) Describes a task in a checklist.ComposeTextWithAi(TdApi.FormattedText text, String translateToLanguageCode, String styleName, boolean addEmojis) Creates a function, which changes text using an AI model; must not be used in secret chats.DeepLinkInfo(TdApi.FormattedText text, boolean needUpdateApplication) Contains information about a tg: deep link.DraftMessageContentText(TdApi.FormattedText text, TdApi.LinkPreviewOptions linkPreviewOptions) A text message draft.EditBusinessMessageCaption(String businessConnectionId, long chatId, long messageId, TdApi.ReplyMarkup replyMarkup, TdApi.FormattedText caption, boolean showCaptionAboveMedia) Creates a function, which edits the caption of a message sent on behalf of a business account; for bots only.EditBusinessStory(long storyPosterChatId, int storyId, TdApi.InputStoryContent content, TdApi.InputStoryAreas areas, TdApi.FormattedText caption, TdApi.StoryPrivacySettings privacySettings) Creates a function, which changes a story posted by the bot on behalf of a business account; for bots only.EditInlineMessageCaption(String inlineMessageId, TdApi.ReplyMarkup replyMarkup, TdApi.FormattedText caption, boolean showCaptionAboveMedia) Creates a function, which 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, boolean showCaptionAboveMedia) Creates a function, which edits the message content caption.EditStory(long storyPosterChatId, int storyId, TdApi.InputStoryContent content, TdApi.InputStoryAreas areas, TdApi.FormattedText caption) Creates a function, which changes content and caption of a story.FactCheck(TdApi.FormattedText text, String countryCode) Describes a fact-check added to the message by an independent checker.FixedText(TdApi.FormattedText text, TdApi.DiffText diffText) A text fixed using fixTextWithAi.Creates a function, which fixes text using an AI model; must not be used in secret chats.Game(long id, String shortName, String title, TdApi.FormattedText text, String description, TdApi.Photo photo, TdApi.Animation animation) Describes a game.GetLinkPreview(TdApi.FormattedText text, TdApi.LinkPreviewOptions linkPreviewOptions) 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.GiftAuctionAcquiredGift(TdApi.MessageSender receiverId, int date, long starCount, int auctionRoundNumber, int auctionRoundPosition, int uniqueGiftNumber, TdApi.FormattedText text, boolean isPrivate) Represents a gift that was acquired by the current user on an auction.GiftPremiumWithStars(long userId, long starCount, int monthCount, TdApi.FormattedText text) Creates a function, which allows to buy a Telegram Premium subscription for another user with payment in Telegram Stars; for bots only.GroupCallMessage(int messageId, TdApi.MessageSender senderId, int date, TdApi.FormattedText text, long paidMessageStarCount, boolean isFromOwner, boolean canBeDeleted) Represents a message sent in a group call.ImportedContact(String phoneNumber, String firstName, String lastName, TdApi.FormattedText note) Describes a contact to import.InputBusinessChatLink(TdApi.FormattedText text, String title) Describes a business chat link to create or edit.InputChecklist(TdApi.FormattedText title, TdApi.InputChecklistTask[] tasks, boolean othersCanAddTasks, boolean othersCanMarkTasksAsDone) Describes a checklist to be sent.InputChecklistTask(int id, TdApi.FormattedText text) Describes a task in a checklist to be sent.InputMessageAnimation(TdApi.InputAnimation animation, TdApi.FormattedText caption, boolean showCaptionAboveMedia, boolean hasSpoiler) An animation message (GIF-style).InputMessageAudio(TdApi.InputAudio audio, TdApi.FormattedText caption) An audio message.InputMessageDocument(TdApi.InputDocument document, TdApi.FormattedText caption) 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.InputMessagePaidMedia(long starCount, TdApi.InputPaidMedia[] paidMedia, TdApi.FormattedText caption, boolean showCaptionAboveMedia, String payload) A message with paid media; can be used only in channel chats with supergroupFullInfo.hasPaidMediaAllowed.InputMessagePhoto(TdApi.InputPhoto photo, TdApi.FormattedText caption, boolean showCaptionAboveMedia, TdApi.MessageSelfDestructType selfDestructType, boolean hasSpoiler) A photo message.InputMessagePoll(TdApi.FormattedText question, TdApi.InputPollOption[] options, TdApi.FormattedText description, TdApi.InputPollMedia media, boolean isAnonymous, boolean allowsMultipleAnswers, boolean allowsRevoting, boolean membersOnly, String[] countryCodes, boolean shuffleOptions, boolean hideResultsUntilCloses, TdApi.InputPollType type, int openPeriod, int closeDate, boolean isClosed) A message with a poll.InputMessageText(TdApi.FormattedText text, TdApi.LinkPreviewOptions linkPreviewOptions, boolean clearDraft) A text message.InputMessageVideo(TdApi.InputVideo video, TdApi.FormattedText caption, boolean showCaptionAboveMedia, TdApi.MessageSelfDestructType selfDestructType, boolean hasSpoiler) A video message.InputMessageVoiceNote(TdApi.InputVoiceNote voiceNote, TdApi.FormattedText caption, TdApi.MessageSelfDestructType selfDestructType) A voice note message.InputPollOption(TdApi.FormattedText text, TdApi.InputPollMedia media) Describes one answer option of a poll to be created.InputPollTypeQuiz(int[] correctOptionIds, TdApi.FormattedText explanation, TdApi.InputPollMedia explanationMedia) A poll in quiz mode, which has predefined correct answers.InputTextQuote(TdApi.FormattedText text, int position) Describes manually chosen quote from another message.InternalLinkTypeMessageDraft(TdApi.FormattedText text, boolean containsLink) The link contains a message draft text.LinkPreview(String url, String displayUrl, String siteName, String title, TdApi.FormattedText description, String author, TdApi.LinkPreviewType type, boolean hasLargeMedia, boolean showLargeMedia, boolean showMediaAboveDescription, boolean skipConfirmation, boolean showAboveText, int instantViewVersion) Describes a link preview.MessageAnimation(TdApi.Animation animation, TdApi.FormattedText caption, boolean showCaptionAboveMedia, 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, boolean newShowCaptionAboveMedia) 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).MessageGift(TdApi.Gift gift, TdApi.MessageSender senderId, TdApi.MessageSender receiverId, String receivedGiftId, TdApi.FormattedText text, int uniqueGiftNumber, long sellStarCount, long prepaidUpgradeStarCount, boolean isUpgradeSeparate, boolean isFromAuction, boolean isPrivate, boolean isSaved, boolean isPrepaidUpgrade, boolean canBeUpgraded, boolean wasConverted, boolean wasUpgraded, boolean wasRefunded, String upgradedReceivedGiftId, String prepaidUpgradeHash) A regular gift was received or sent by the current user, or the current user was notified about a channel gift.MessageGiftedPremium(long gifterUserId, long receiverUserId, TdApi.FormattedText text, String currency, long amount, String cryptocurrency, long cryptocurrencyAmount, int monthCount, int dayCount, TdApi.Sticker sticker) Telegram Premium was gifted to a user.MessageInvoice(TdApi.ProductInfo productInfo, String currency, long totalAmount, String startParameter, boolean isTest, boolean needShippingAddress, long receiptMessageId, TdApi.PaidMedia paidMedia, TdApi.FormattedText paidMediaCaption) A message with an invoice from a bot.MessagePaidMedia(long starCount, TdApi.PaidMedia[] media, TdApi.FormattedText caption, boolean showCaptionAboveMedia) A message with paid media.MessagePhoto(TdApi.Photo photo, TdApi.Video video, TdApi.FormattedText caption, boolean showCaptionAboveMedia, boolean hasSpoiler, boolean isSecret) A photo message.MessagePoll(TdApi.Poll poll, TdApi.FormattedText description, TdApi.PollMedia media, boolean canAddOption) A message with a poll.MessagePollOptionAdded(long pollMessageId, String optionId, TdApi.FormattedText text) A message with information about an added poll option.MessagePollOptionDeleted(long pollMessageId, String optionId, TdApi.FormattedText text) A message with information about a deleted poll option.MessagePremiumGiftCode(TdApi.MessageSender creatorId, TdApi.FormattedText text, boolean isFromGiveaway, boolean isUnclaimed, String currency, long amount, String cryptocurrency, long cryptocurrencyAmount, int monthCount, int dayCount, TdApi.Sticker sticker, String code) A Telegram Premium gift code was created for the user.MessageText(TdApi.FormattedText text, TdApi.LinkPreview linkPreview, TdApi.LinkPreviewOptions linkPreviewOptions) A text message.MessageVideo(TdApi.Video video, TdApi.AlternativeVideo[] alternativeVideos, TdApi.VideoStoryboard[] storyboards, TdApi.Photo cover, int startTimestamp, TdApi.FormattedText caption, boolean showCaptionAboveMedia, boolean hasSpoiler, boolean isSecret) A video message.MessageVoiceNote(TdApi.VoiceNote voiceNote, TdApi.FormattedText caption, boolean isListened) A voice note message.Creates a function, which parses Markdown entities in a human-friendly format, ignoring markup errors.PlaceGiftAuctionBid(long giftId, long starCount, long userId, TdApi.FormattedText text, boolean isPrivate) Creates a function, which places a bid on an auction gift.Poll(long id, TdApi.FormattedText question, TdApi.PollOption[] options, int totalVoterCount, TdApi.MessageSender[] recentVoterIds, boolean canGetVoters, boolean canSeeResults, boolean isAnonymous, boolean allowsMultipleAnswers, boolean allowsRevoting, boolean membersOnly, String[] countryCodes, int[] optionOrder, TdApi.PollType type, int openPeriod, int closeDate, boolean isClosed, TdApi.PollVoteRestrictionReason voteRestrictionReason) Describes a poll.PollOption(String id, TdApi.FormattedText text, TdApi.PollMedia media, int voterCount, int votePercentage, TdApi.MessageSender[] recentVoterIds, boolean isChosen, boolean isBeingChosen, TdApi.MessageSender author, int additionDate) Describes one answer option of a poll.PollTypeQuiz(int[] correctOptionIds, TdApi.FormattedText explanation, TdApi.PollMedia explanationMedia) A poll in quiz mode, which has predefined correct answers.PostStory(long chatId, TdApi.InputStoryContent content, TdApi.InputStoryAreas areas, TdApi.FormattedText caption, TdApi.StoryPrivacySettings privacySettings, int[] albumIds, int activePeriod, TdApi.StoryFullId fromStoryFullId, boolean isPostedToChatPage, boolean protectContent) Creates a function, which posts a new story on behalf of a chat; requires canPostStories administrator right for supergroup and channel chats.PremiumState(TdApi.FormattedText state, TdApi.PremiumStatePaymentOption[] paymentOptions, TdApi.PremiumFeaturePromotionAnimation[] animations, TdApi.BusinessFeaturePromotionAnimation[] businessAnimations) Contains state of Telegram Premium subscription and promotion videos for Premium features.ProductInfo(String title, TdApi.FormattedText description, TdApi.Photo photo) Contains information about a product that can be paid with invoice.ReceivedGift(String receivedGiftId, TdApi.MessageSender senderId, TdApi.FormattedText text, int uniqueGiftNumber, boolean isPrivate, boolean isSaved, boolean isPinned, boolean canBeUpgraded, boolean canBeTransferred, boolean wasRefunded, int date, TdApi.SentGift gift, int[] collectionIds, long sellStarCount, long prepaidUpgradeStarCount, boolean isUpgradeSeparate, long transferStarCount, long dropOriginalDetailsStarCount, int nextTransferDate, int nextResaleDate, int exportDate, String prepaidUpgradeHash, int craftDate) Represents a gift received by a user or a chat.SearchQuote(TdApi.FormattedText text, TdApi.FormattedText quote, int quotePosition) Creates a function, which searches for a given quote in a text.SendGift(long giftId, TdApi.MessageSender ownerId, TdApi.FormattedText text, boolean isPrivate, boolean payForUpgrade) Creates a function, which sends a gift to another user or channel chat.SendGroupCallMessage(int groupCallId, TdApi.FormattedText text, long paidMessageStarCount) Creates a function, which sends a message to other participants of a group call.SendTextMessageDraft(long chatId, int forumTopicId, long draftId, TdApi.FormattedText text) Creates a function, which sends a draft for a being generated text message; for bots only.SetMessageFactCheck(long chatId, long messageId, TdApi.FormattedText text) Creates a function, which changes the fact-check of a message.SetUserNote(long userId, TdApi.FormattedText note) Creates a function, which changes a note of a contact user.SetUserSupportInfo(long userId, TdApi.FormattedText message) Creates a function, which sets support information for the given user; for Telegram support only.StorePaymentPurposePremiumGift(String currency, long amount, long userId, TdApi.FormattedText text) The user gifting Telegram Premium to another user.StorePaymentPurposePremiumGiftCodes(long boostedChatId, String currency, long amount, long[] userIds, TdApi.FormattedText text) The user boosting a chat by creating Telegram Premium gift codes for other users.Story(int id, long posterChatId, TdApi.MessageSender posterId, int date, boolean isBeingPosted, boolean isBeingEdited, boolean isEdited, boolean isPostedToChatPage, boolean isVisibleOnlyForSelf, boolean canBeAddedToAlbum, boolean canBeDeleted, boolean canBeEdited, boolean canBeForwarded, boolean canBeReplied, boolean canSetPrivacySettings, 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, int[] albumIds) Represents a story.SuggestedActionCustom(String name, TdApi.FormattedText title, TdApi.FormattedText description, String url) A custom suggestion to be shown at the top of the chat list.TelegramPaymentPurposePremiumGift(String currency, long amount, long userId, int monthCount, TdApi.FormattedText text) The user gifting Telegram Premium to another user.TelegramPaymentPurposePremiumGiftCodes(long boostedChatId, String currency, long amount, long[] userIds, int monthCount, TdApi.FormattedText text) The user boosting a chat by creating Telegram Premium gift codes for other users.TermsOfService(TdApi.FormattedText text, int minUserAge, boolean showPopup) Contains Telegram terms of service.TextCompositionStyleExample(TdApi.FormattedText sourceText, TdApi.FormattedText resultText) Contains an example of text composition style usage.TextQuote(TdApi.FormattedText text, int position, boolean isManual) Describes manually or automatically chosen quote from another message.TranslateText(TdApi.FormattedText text, String toLanguageCode, String tone) Creates a function, which translates a text to the given language; must not be used in secret chats.UpgradedGiftOriginalDetails(TdApi.MessageSender senderId, TdApi.MessageSender receiverId, TdApi.FormattedText text, int date) Describes the original details about the gift.UserFullInfo(TdApi.ChatPhoto personalPhoto, TdApi.ChatPhoto photo, TdApi.ChatPhoto publicPhoto, long communityId, TdApi.BlockList blockList, boolean canBeCalled, boolean supportsVideoCalls, boolean hasPrivateCalls, boolean hasPrivateForwards, boolean hasRestrictedVoiceAndVideoNoteMessages, boolean hasPostedToProfileStories, boolean hasSponsoredMessagesEnabled, boolean needPhoneNumberPrivacyException, boolean setChatBackground, boolean usesUnofficialApp, TdApi.FormattedText bio, TdApi.Birthdate birthdate, long personalChatId, int giftCount, int groupInCommonCount, long incomingPaidMessageStarCount, long outgoingPaidMessageStarCount, TdApi.GiftSettings giftSettings, TdApi.BotVerification botVerification, TdApi.ProfileTab mainProfileTab, TdApi.Audio firstProfileAudio, TdApi.UserRating rating, TdApi.UserRating pendingRating, int pendingRatingDate, TdApi.FormattedText note, TdApi.BusinessInfo businessInfo, TdApi.BotInfo botInfo) Contains full information about a user.UserSupportInfo(TdApi.FormattedText message, String author, int date) Contains custom information about the user.