Class 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 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.