public static class TdApi.EditInlineMessageCaption extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
TdApi.FormattedText |
caption
New message content caption; pass null to remove caption; 0-getOption("message_caption_length_max") characters.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
inlineMessageId
Inline message identifier.
|
TdApi.ReplyMarkup |
replyMarkup
The new message reply markup; pass null if none.
|
boolean |
showCaptionAboveMedia
Pass true to show the caption above the media; otherwise, the caption will be shown below the media.
|
| Constructor and Description |
|---|
EditInlineMessageCaption()
Default constructor for a function, which edits the caption of an inline message sent via a bot; for bots only.
|
EditInlineMessageCaption(java.lang.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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String inlineMessageId
public TdApi.ReplyMarkup replyMarkup
public TdApi.FormattedText caption
public boolean showCaptionAboveMedia
public static final int CONSTRUCTOR
public EditInlineMessageCaption()
Returns Ok
public EditInlineMessageCaption(java.lang.String inlineMessageId,
TdApi.ReplyMarkup replyMarkup,
TdApi.FormattedText caption,
boolean showCaptionAboveMedia)
Returns Ok
inlineMessageId - Inline message identifier.replyMarkup - The new message reply markup; pass null if none.caption - New message content caption; pass null to remove caption; 0-getOption("message_caption_length_max") characters.showCaptionAboveMedia - Pass true to show the caption above the media; otherwise, the caption will be shown below the media. May be true only for animation, photo, and video messages.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object