Class TdApi.EditInlineMessageMedia
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Ok>
dev.voroby.springframework.telegram.client.TdApi.EditInlineMessageMedia
- Enclosing class:
- TdApi
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.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Inline message identifier.New content of the message.The new message reply markup; pass null if none; for bots only. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which 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.EditInlineMessageMedia
(String inlineMessageId, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent) Creates a function, which 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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
inlineMessageId
Inline message identifier. -
replyMarkup
The new message reply markup; pass null if none; for bots only. -
inputMessageContent
New content of the message. Must be one of the following types: inputMessageAnimation, inputMessageAudio, inputMessageDocument, inputMessagePhoto or inputMessageVideo. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
EditInlineMessageMedia
public EditInlineMessageMedia()Default constructor for a function, which 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.Returns
Ok
-
EditInlineMessageMedia
public EditInlineMessageMedia(String inlineMessageId, TdApi.ReplyMarkup replyMarkup, TdApi.InputMessageContent inputMessageContent) Creates a function, which 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.Returns
Ok
- Parameters:
inlineMessageId
- Inline message identifier.replyMarkup
- The new message reply markup; pass null if none; for bots only.inputMessageContent
- New content of the message. Must be one of the following types: inputMessageAnimation, inputMessageAudio, inputMessageDocument, inputMessagePhoto or inputMessageVideo.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-