# Uses of Class
it.tdlight.jni.TdApi.MessageContent

## Uses of TdApi.MessageContent in it.tdlight.jni

Subclasses of TdApi.MessageContent in it.tdlight.jni
Modifier and Type
Class
Description
`static final class`
`TdApi.MessageAnimatedEmoji`
A message with an animated emoji.
`static final class`
`TdApi.MessageAnimation`
An animation message (GIF-style).
`static final class`
`TdApi.MessageAudio`
An audio message.
`static final class`
`TdApi.MessageBasicGroupChatCreate`
A newly created basic group.
`static final class`
`TdApi.MessageCall`
A message with information about an ended call.
`static final class`
`TdApi.MessageChatAddMembers`
New chat members were added.
`static final class`
`TdApi.MessageChatChangePhoto`
An updated chat photo.
`static final class`
`TdApi.MessageChatChangeTitle`
An updated chat title.
`static final class`
`TdApi.MessageChatDeleteMember`
A chat member was deleted.
`static final class`
`TdApi.MessageChatDeletePhoto`
A deleted chat photo.
`static final class`
`TdApi.MessageChatJoinByLink`
A new member joined the chat by invite link.
`static final class`
`TdApi.MessageChatJoinByRequest`
A new member was accepted to the chat by an administrator.
`static final class`
`TdApi.MessageChatSetTheme`
A theme in the chat has been changed.
`static final class`
`TdApi.MessageChatSetTtl`
The TTL (Time To Live) setting for messages in the chat has been changed.
`static final class`
`TdApi.MessageChatUpgradeFrom`
A supergroup has been created from a basic group.
`static final class`
`TdApi.MessageChatUpgradeTo`
A basic group was upgraded to a supergroup and was deactivated as the result.
`static final class`
`TdApi.MessageContact`
A message with a user contact.
`static final class`
`TdApi.MessageContactRegistered`
A contact has registered with Telegram.
`static final class`
`TdApi.MessageCustomServiceAction`
A non-standard action has happened in the chat.
`static final class`
`TdApi.MessageDice`
A dice message.
`static final class`
`TdApi.MessageDocument`
A document message (general file).
`static final class`
`TdApi.MessageExpiredPhoto`
An expired photo message (self-destructed after TTL has elapsed).
`static final class`
`TdApi.MessageExpiredVideo`
An expired video message (self-destructed after TTL has elapsed).
`static final class`
`TdApi.MessageGame`
A message with a game.
`static final class`
`TdApi.MessageGameScore`
A new high score was achieved in a game.
`static final class`
`TdApi.MessageInviteVideoChatParticipants`
A message with information about an invite to a video chat.
`static final class`
`TdApi.MessageInvoice`
A message with an invoice from a bot.
`static final class`
`TdApi.MessageLocation`
A message with a location.
`static final class`
`TdApi.MessagePassportDataReceived`
Telegram Passport data has been received; for bots only.
`static final class`
`TdApi.MessagePassportDataSent`
Telegram Passport data has been sent.
`static final class`
`TdApi.MessagePaymentSuccessful`
A payment has been completed.
`static final class`
`TdApi.MessagePaymentSuccessfulBot`
A payment has been completed; for bots only.
`static final class`
`TdApi.MessagePhoto`
A photo message.
`static final class`
`TdApi.MessagePinMessage`
A message has been pinned.
`static final class`
`TdApi.MessagePoll`
A message with a poll.
`static final class`
`TdApi.MessageProximityAlertTriggered`
A user in the chat came within proximity alert range.
`static final class`
`TdApi.MessageScreenshotTaken`
A screenshot of a message in the chat has been taken.
`static final class`
`TdApi.MessageSticker`
A sticker message.
`static final class`
`TdApi.MessageSupergroupChatCreate`
A newly created supergroup or channel.
`static final class`
`TdApi.MessageText`
A text message.
`static final class`
`TdApi.MessageUnsupported`
Message content that is not supported in the current TDLib version.
`static final class`
`TdApi.MessageVenue`
A message with information about a venue.
`static final class`
`TdApi.MessageVideo`
A video message.
`static final class`
`TdApi.MessageVideoChatEnded`
A message with information about an ended video chat.
`static final class`
`TdApi.MessageVideoChatScheduled`
A new video chat was scheduled.
`static final class`
`TdApi.MessageVideoChatStarted`
A newly created video chat.
`static final class`
`TdApi.MessageVideoNote`
A video note message.
`static final class`
`TdApi.MessageVoiceNote`
A voice note message.
`static final class`
`TdApi.MessageWebsiteConnected`
The current user has connected a website by logging in using Telegram Login Widget on it.
Fields in it.tdlight.jni declared as TdApi.MessageContent
Modifier and Type
Field
Description
`TdApi.MessageContent`
TdApi.Message.`content`
Content of the message.
`TdApi.MessageContent`
TdApi.SponsoredMessage.`content`
Content of the message.
`TdApi.MessageContent`
TdApi.UpdateServiceNotification.`content`
Notification content.
`TdApi.MessageContent`
TdApi.UpdateMessageContent.`newContent`
New message content.
Constructors in it.tdlight.jni with parameters of type TdApi.MessageContent
Modifier
Constructor
Description
``
`Message(long id, TdApi.MessageSender sender, long chatId, TdApi.MessageSendingState sendingState, TdApi.MessageSchedulingState schedulingState, boolean isOutgoing, boolean isPinned, boolean canBeEdited, boolean canBeForwarded, boolean canBeDeletedOnlyForSelf, boolean canBeDeletedForAllUsers, boolean canGetStatistics, boolean canGetMessageThread, boolean canGetViewers, boolean canGetMediaTimestampLinks, boolean hasTimestampedMedia, boolean isChannelPost, boolean containsUnreadMention, int date, int editDate, TdApi.MessageForwardInfo forwardInfo, TdApi.MessageInteractionInfo interactionInfo, long replyInChatId, long replyToMessageId, long messageThreadId, int ttl, double ttlExpiresIn, long viaBotUserId, String authorSignature, long mediaAlbumId, String restrictionReason, TdApi.MessageContent content, TdApi.ReplyMarkup replyMarkup)`
Describes a message.
``
`SponsoredMessage(int id, long sponsorChatId, TdApi.InternalLinkType link, TdApi.MessageContent content)`
Describes a sponsored message.
``
`UpdateMessageContent(long chatId, long messageId, TdApi.MessageContent newContent)`
The message content has changed.
``
`UpdateServiceNotification(String type, TdApi.MessageContent content)`
Service notification from the server.