public static class TdApi.EditInlineMessageCaption extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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.
|
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)
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() |
toString
public java.lang.String inlineMessageId
public TdApi.ReplyMarkup replyMarkup
public TdApi.FormattedText caption
public static final int CONSTRUCTOR
public EditInlineMessageCaption()
Returns Ok
public EditInlineMessageCaption(java.lang.String inlineMessageId, TdApi.ReplyMarkup replyMarkup, TdApi.FormattedText caption)
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.public int getConstructor()
getConstructor
in class TdApi.Function