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

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

Subclasses of TdApi.InputMessageContent in it.tdlight.jni
Modifier and Type
Class
Description
`static final class`
`TdApi.InputMessageAnimation`
An animation message (GIF-style).
`static final class`
`TdApi.InputMessageAudio`
An audio message.
`static final class`
`TdApi.InputMessageContact`
A message containing a user contact.
`static final class`
`TdApi.InputMessageDice`
A dice message.
`static final class`
`TdApi.InputMessageDocument`
A document message (general file).
`static final class`
`TdApi.InputMessageForwarded`
A forwarded message.
`static final class`
`TdApi.InputMessageGame`
A message with a game; not supported for channels or secret chats.
`static final class`
`TdApi.InputMessageInvoice`
A message with an invoice; can be used only by bots.
`static final class`
`TdApi.InputMessageLocation`
A message with a location.
`static final class`
`TdApi.InputMessagePhoto`
A photo message.
`static final class`
`TdApi.InputMessagePoll`
A message with a poll.
`static final class`
`TdApi.InputMessageSticker`
A sticker message.
`static final class`
`TdApi.InputMessageText`
A text message.
`static final class`
`TdApi.InputMessageVenue`
A message with information about a venue.
`static final class`
`TdApi.InputMessageVideo`
A video message.
`static final class`
`TdApi.InputMessageVideoNote`
A video note message.
`static final class`
`TdApi.InputMessageVoiceNote`
A voice note message.
Fields in it.tdlight.jni declared as TdApi.InputMessageContent
Modifier and Type
Field
Description
`TdApi.InputMessageContent`
TdApi.AddLocalMessage.`inputMessageContent`
The content of the message to be added.
`TdApi.InputMessageContent`
TdApi.EditInlineMessageMedia.`inputMessageContent`
New content of the message.
`TdApi.InputMessageContent`
TdApi.EditInlineMessageText.`inputMessageContent`
New text content of the message.
`TdApi.InputMessageContent`
TdApi.EditMessageMedia.`inputMessageContent`
New content of the message.
`TdApi.InputMessageContent`
TdApi.EditMessageText.`inputMessageContent`
New text content of the message.
`TdApi.InputMessageContent`
TdApi.InputInlineQueryResultAnimation.`inputMessageContent`
The content of the message to be sent.
`TdApi.InputMessageContent`
TdApi.InputInlineQueryResultArticle.`inputMessageContent`
The content of the message to be sent.
`TdApi.InputMessageContent`
TdApi.InputInlineQueryResultAudio.`inputMessageContent`
The content of the message to be sent.
`TdApi.InputMessageContent`
TdApi.InputInlineQueryResultContact.`inputMessageContent`
The content of the message to be sent.
`TdApi.InputMessageContent`
TdApi.InputInlineQueryResultDocument.`inputMessageContent`
The content of the message to be sent.
`TdApi.InputMessageContent`
TdApi.InputInlineQueryResultLocation.`inputMessageContent`
The content of the message to be sent.
`TdApi.InputMessageContent`
TdApi.InputInlineQueryResultPhoto.`inputMessageContent`
The content of the message to be sent.
`TdApi.InputMessageContent`
TdApi.InputInlineQueryResultSticker.`inputMessageContent`
The content of the message to be sent.
`TdApi.InputMessageContent`
TdApi.InputInlineQueryResultVenue.`inputMessageContent`
The content of the message to be sent.
`TdApi.InputMessageContent`
TdApi.InputInlineQueryResultVideo.`inputMessageContent`
The content of the message to be sent.
`TdApi.InputMessageContent`
TdApi.InputInlineQueryResultVoiceNote.`inputMessageContent`
The content of the message to be sent.
`TdApi.InputMessageContent`
TdApi.SendMessage.`inputMessageContent`
The content of the message to be sent.
`TdApi.InputMessageContent[]`
TdApi.SendMessageAlbum.`inputMessageContents`
Contents of messages to be sent.
`TdApi.InputMessageContent`
TdApi.DraftMessage.`inputMessageText`
Content of the message draft; must be of the type inputMessageText.
Constructors in it.tdlight.jni with parameters of type TdApi.InputMessageContent
Modifier
Constructor
Description
``
`AddLocalMessage(long chatId, TdApi.MessageSender sender, long replyToMessageId, boolean disableNotification, TdApi.InputMessageContent inputMessageContent)`
Adds a local message to a chat.
``
`DraftMessage(long replyToMessageId, int date, TdApi.InputMessageContent inputMessageText)`
Contains information about a message draft.
``
`EditInlineMessageMedia(String inlineMessageId, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)`
Edits the content of a message with an animation, an audio, a document, a photo or a video in an inline message sent via a bot; for bots only.
``
`EditInlineMessageText(String inlineMessageId, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)`
Edits the text of an inline text or game message sent via a bot; for bots only.
``
`EditMessageMedia(long chatId, long messageId, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)`
Edits the content of a message with an animation, an audio, a document, a photo or a video, including message caption.
``
`EditMessageText(long chatId, long messageId, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)`
Edits the text of a message (or a text of a game message).
``
`InputInlineQueryResultAnimation(String id, String title, String thumbnailUrl, String thumbnailMimeType, String videoUrl, String videoMimeType, int videoDuration, int videoWidth, int videoHeight, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)`
Represents a link to an animated GIF or an animated (i.e., without sound) H.264/MPEG-4 AVC video.
``
`InputInlineQueryResultArticle(String id, String url, boolean hideUrl, String title, String description, String thumbnailUrl, int thumbnailWidth, int thumbnailHeight, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)`
Represents a link to an article or web page.
``
`InputInlineQueryResultAudio(String id, String title, String performer, String audioUrl, int audioDuration, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)`
Represents a link to an MP3 audio file.
``
`InputInlineQueryResultContact(String id, TdApi.Contact contact, String thumbnailUrl, int thumbnailWidth, int thumbnailHeight, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)`
Represents a user contact.
``
`InputInlineQueryResultDocument(String id, String title, String description, String documentUrl, String mimeType, String thumbnailUrl, int thumbnailWidth, int thumbnailHeight, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)`
Represents a link to a file.
``
`InputInlineQueryResultLocation(String id, TdApi.Location location, int livePeriod, String title, String thumbnailUrl, int thumbnailWidth, int thumbnailHeight, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)`
Represents a point on the map.
``
`InputInlineQueryResultPhoto(String id, String title, String description, String thumbnailUrl, String photoUrl, int photoWidth, int photoHeight, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)`
Represents link to a JPEG image.
``
`InputInlineQueryResultSticker(String id, String thumbnailUrl, String stickerUrl, int stickerWidth, int stickerHeight, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)`
Represents a link to a WEBP or TGS sticker.
``
`InputInlineQueryResultVenue(String id, TdApi.Venue venue, String thumbnailUrl, int thumbnailWidth, int thumbnailHeight, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)`
Represents information about a venue.
``
`InputInlineQueryResultVideo(String id, String title, String description, String thumbnailUrl, String videoUrl, String mimeType, int videoWidth, int videoHeight, int videoDuration, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)`
Represents a link to a page containing an embedded video player or a video file.
``
`InputInlineQueryResultVoiceNote(String id, String title, String voiceNoteUrl, int voiceNoteDuration, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)`
Represents a link to an opus-encoded audio file within an OGG container, single channel audio.
``
`SendMessage(long chatId, long messageThreadId, long replyToMessageId, TdApi.MessageSendOptions options, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent)`
Sends a message.
``
`SendMessageAlbum(long chatId, long messageThreadId, long replyToMessageId, TdApi.MessageSendOptions options, TdApi.InputMessageContent[] inputMessageContents)`
Sends 2-10 messages grouped together into an album.