Package org.drinkless.tdlib
Class TdApi.DeleteChatReplyMarkup
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.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 is changed.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description longchatIdChat identifier.static intCONSTRUCTORIdentifier uniquely determining type of the object.longmessageIdThe message identifier of the used keyboard.
-
Constructor Summary
Constructors Constructor Description DeleteChatReplyMarkup()Default constructor for a function, which deletes the default reply markup from a chat.DeleteChatReplyMarkup(long chatId, long messageId)Creates a function, which deletes the default reply markup from a chat.
-
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
-
chatId
public long chatId
Chat identifier.
-
messageId
public long messageId
The message identifier of the used keyboard.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DeleteChatReplyMarkup
public DeleteChatReplyMarkup()
Default constructor for a function, which 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 is changed.Returns
Ok
-
DeleteChatReplyMarkup
public DeleteChatReplyMarkup(long chatId, long messageId)Creates a function, which 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 is changed.Returns
Ok- Parameters:
chatId- Chat identifier.messageId- The message identifier of the used keyboard.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-