Uses of Class
org.drinkless.tdlib.TdApi.MessageContent
Packages that use TdApi.MessageContent
-
Uses of TdApi.MessageContent in org.drinkless.tdlib
Subclasses of TdApi.MessageContent in org.drinkless.tdlibModifier and TypeClassDescriptionstatic classA message with an animated emoji.static classAn animation message (GIF-style).static classAn audio message.static classA newly created basic group.static classThe user allowed the bot to send messages.static classA message with information about an ended call.static classNew chat members were added.static classThe chat was boosted by the sender of the message.static classAn updated chat photo.static classAn updated chat title.static classA chat member was deleted.static classA deleted chat photo.static classA new member joined the chat via an invite link.static classA new member was accepted to the chat by an administrator.static classA new background was set in the chat.static classThe auto-delete or self-destruct timer for messages in the chat has been changed.static classA theme in the chat has been changed.static classThe current user shared a chat, which was requested by the bot.static classA supergroup has been created from a basic group.static classA basic group was upgraded to a supergroup and was deactivated as the result.static classA message with a checklist.static classSome tasks were added to a checklist.static classSome tasks from a checklist were marked as done or not done.static classA message with a user contact.static classA contact has registered with Telegram.static classA non-standard action has happened in the chat.static classA dice message.static classA price for direct messages was changed in the channel chat.static classA document message (general file).static classA self-destructed photo message.static classA self-destructed video message.static classA self-destructed video note message.static classA self-destructed voice note message.static classA forum topic has been created.static classA forum topic has been edited.static classA forum topic has been closed or opened.static classA General forum topic has been hidden or unhidden.static classA message with a game.static classA new high score was achieved in a game.static classA regular gift was received or sent by the current user, or the current user was notified about a channel gift.static classTelegram Premium was gifted to a user.static classTelegram Stars were gifted to a user.static classToncoins were gifted to a user.static classA giveaway.static classA giveaway without public winners has been completed for the chat.static classA giveaway was created for the chat.static classA Telegram Stars were received by the current user from a giveaway.static classA giveaway with public winners has been completed for the chat.static classA message with information about a group call not bound to a chat.static classA message with information about an invitation to a video chat.static classA message with an invoice from a bot.static classA message with a location.static classA message with paid media.static classA price for paid messages was changed in the supergroup chat.static classPaid messages were refunded.static classTelegram Passport data has been received; for bots only.static classTelegram Passport data has been sent to a bot.static classA payment has been refunded.static classA payment has been sent to a bot or a business account.static classA payment has been received by the bot or the business account.static classA photo message.static classA message has been pinned.static classA message with a poll.static classA Telegram Premium gift code was created for the user.static classA user in the chat came within proximity alert range.static classA gift which purchase, upgrade or transfer were refunded.static classA screenshot of a message in the chat has been taken.static classA sticker message.static classA message with a forwarded story.static classApproval of suggested post has failed, because the user which proposed the post had no enough funds.static classA suggested post was approved.static classA suggested post was declined.static classA suggested post was published for getOption("suggested_post_lifetime_min") seconds and payment for the post was received.static classA suggested post was refunded.static classA profile photo was suggested to a user in a private chat.static classA newly created supergroup or channel.static classA text message.static classA message content that is not supported in the current TDLib version.static classAn upgraded gift was received or sent by the current user, or the current user was notified about a channel gift.static classThe current user shared users, which were requested by the bot.static classA message with information about a venue.static classA video message.static classA message with information about an ended video chat.static classA new video chat was scheduled.static classA newly created video chat.static classA video note message.static classA voice note message.static classData from a Web App has been received; for bots only.static classData from a Web App has been sent to a bot.Fields in org.drinkless.tdlib declared as TdApi.MessageContentModifier and TypeFieldDescriptionTdApi.Message.contentContent of the message.TdApi.MessageReplyToMessage.contentMedia content of the message if the message was from another chat or topic; may be null for messages from the same chat and messages without media.TdApi.QuickReplyMessage.contentContent of the message.TdApi.SponsoredMessage.contentContent of the message.TdApi.UpdateServiceNotification.contentNotification content.TdApi.UpdateMessageContent.newContentNew message content.Constructors in org.drinkless.tdlib with parameters of type TdApi.MessageContentModifierConstructorDescriptionMessage(long id, TdApi.MessageSender senderId, long chatId, TdApi.MessageSendingState sendingState, TdApi.MessageSchedulingState schedulingState, boolean isOutgoing, boolean isPinned, boolean isFromOffline, boolean canBeSaved, boolean hasTimestampedMedia, boolean isChannelPost, boolean isPaidStarSuggestedPost, boolean isPaidTonSuggestedPost, boolean containsUnreadMention, int date, int editDate, TdApi.MessageForwardInfo forwardInfo, TdApi.MessageImportInfo importInfo, TdApi.MessageInteractionInfo interactionInfo, TdApi.UnreadReaction[] unreadReactions, TdApi.FactCheck factCheck, TdApi.SuggestedPostInfo suggestedPostInfo, TdApi.MessageReplyTo replyTo, long messageThreadId, TdApi.MessageTopic topicId, TdApi.MessageSelfDestructType selfDestructType, double selfDestructIn, double autoDeleteIn, long viaBotUserId, long senderBusinessBotUserId, int senderBoostCount, long paidMessageStarCount, String authorSignature, long mediaAlbumId, long effectId, boolean hasSensitiveContent, String restrictionReason, TdApi.MessageContent content, TdApi.ReplyMarkup replyMarkup) Describes a message.MessageReplyToMessage(long chatId, long messageId, TdApi.TextQuote quote, int checklistTaskId, TdApi.MessageOrigin origin, int originSendDate, TdApi.MessageContent content) Describes a message replied by a given message.QuickReplyMessage(long id, TdApi.MessageSendingState sendingState, boolean canBeEdited, long replyToMessageId, long viaBotUserId, long mediaAlbumId, TdApi.MessageContent content, TdApi.ReplyMarkup replyMarkup) Describes a message that can be used for quick reply.SponsoredMessage(long messageId, boolean isRecommended, boolean canBeReported, TdApi.MessageContent content, TdApi.AdvertisementSponsor sponsor, String title, String buttonText, int accentColorId, long backgroundCustomEmojiId, String additionalInfo) Describes a sponsored message.UpdateMessageContent(long chatId, long messageId, TdApi.MessageContent newContent) The message content has changed.UpdateServiceNotification(String type, TdApi.MessageContent content) A service notification from the server was received.