Package org.drinkless.tdlib
Class TdApi.EditInlineMessageCaption
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.EditInlineMessageCaption
-
- Enclosing class:
- TdApi
public static class TdApi.EditInlineMessageCaption extends TdApi.Function
Edits the caption of an inline message sent via a bot; for bots only.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description TdApi.FormattedTextcaptionNew message content caption; pass null to remove caption; 0-GetOption("message_caption_length_max") characters.static intCONSTRUCTORIdentifier uniquely determining type of the object.StringinlineMessageIdInline message identifier.TdApi.ReplyMarkupreplyMarkupThe new message reply markup; pass null if none.
-
Constructor Summary
Constructors Constructor Description EditInlineMessageCaption()Default constructor for a function, which edits the caption of an inline message sent via a bot; for bots only.EditInlineMessageCaption(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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
inlineMessageId
public String inlineMessageId
Inline message identifier.
-
replyMarkup
public TdApi.ReplyMarkup replyMarkup
The new message reply markup; pass null if none.
-
caption
public TdApi.FormattedText caption
New message content caption; pass null to remove caption; 0-GetOption("message_caption_length_max") characters.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EditInlineMessageCaption
public EditInlineMessageCaption()
Default constructor for a function, which edits the caption of an inline message sent via a bot; for bots only.Returns
Ok
-
EditInlineMessageCaption
public EditInlineMessageCaption(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.Returns
Ok- Parameters:
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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-