Package it.tdlight.jni
Class TdApi.DeleteChatReplyMarkup
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.DeleteChatReplyMarkup
- Enclosing class:
- TdApi
public static class TdApi.DeleteChatReplyMarkup extends TdApi.Function
Deletes the default reply markup from
a chat. Must be called after a one-time
keyboard or a ForceReply reply markup
has been used. UpdateChatReplyMarkup
will be sent if the reply markup will be changed.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description long
chatId
Chat identifier.static int
CONSTRUCTOR
long
messageId
The message identifier of the used keyboard. -
Constructor Summary
Constructors Constructor Description DeleteChatReplyMarkup()
Deletes the default reply markup from a chat.DeleteChatReplyMarkup(long chatId, long messageId)
Deletes the default reply markup from a chat.DeleteChatReplyMarkup(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
messageId
public long messageIdThe message identifier of the used keyboard. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
DeleteChatReplyMarkup
public DeleteChatReplyMarkup()Deletes the default reply markup from a chat. Must be called after a one-time keyboard or a ForceReply reply markup has been used. UpdateChatReplyMarkup will be sent if the reply markup will be changed.Returns
Ok
-
DeleteChatReplyMarkup
public DeleteChatReplyMarkup(long chatId, long messageId)Deletes the default reply markup from a chat. Must be called after a one-time keyboard or a ForceReply reply markup has been used. UpdateChatReplyMarkup will be sent if the reply markup will be changed.Returns
Ok
- Parameters:
chatId
- long Chat identifier.messageId
- long The message identifier of the used keyboard.
-
DeleteChatReplyMarkup
- 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()
-