Package org.drinkless.tdlib
Class TdApi.DeleteChatReplyMarkup
- Enclosing class:
- TdApi
Deletes the default reply markup from a chat. Must be called after a one-time keyboard or a replyMarkupForceReply reply markup has been used. An updateChatReplyMarkup update will be sent if the reply markup is changed.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intIdentifier uniquely determining type of the object.longThe message identifier of the used keyboard. -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
messageId
public long messageIdThe message identifier of the used keyboard. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
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 replyMarkupForceReply reply markup has been used. An updateChatReplyMarkup update 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 replyMarkupForceReply reply markup has been used. An updateChatReplyMarkup update will be sent if the reply markup is changed.Returns
Ok- Parameters:
chatId- Chat identifier.messageId- The message identifier of the used keyboard.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-