Package it.tdlight.jni
Class TdApi.EditInlineMessageCaption
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.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.FormattedText
caption
New message content caption; 0-GetOption("message_caption_length_max") characters.static int
CONSTRUCTOR
String
inlineMessageId
Inline message identifier.TdApi.ReplyMarkup
replyMarkup
The new message reply markup. -
Constructor Summary
Constructors Constructor Description EditInlineMessageCaption()
Edits the caption of an inline message sent via a bot; for bots only.EditInlineMessageCaption(DataInput input)
EditInlineMessageCaption(String inlineMessageId, TdApi.ReplyMarkup replyMarkup, TdApi.FormattedText caption)
Edits the caption of an inline message sent via a bot; for bots only. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
inlineMessageId
Inline message identifier. -
replyMarkup
The new message reply markup. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
EditInlineMessageCaption
public EditInlineMessageCaption()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)Edits the caption of an inline message sent via a bot; for bots only.Returns
Ok
- Parameters:
inlineMessageId
- String Inline message identifier.replyMarkup
- ReplyMarkup The new message reply markup.caption
- FormattedText New message content caption; 0-GetOption("message_caption_length_max") characters.
-
EditInlineMessageCaption
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-