Skip to content

deleteChatReplyMarkup

Sahri Riza Umami edited this page Jun 23, 2018 · 5 revisions

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.

deleteChatReplyMarkup(chat_id, message_id, callback, data)
Field Type Description
chat_id int53 Chat identifier
message_id int53 The message identifier of the used keyboard.

Example

  • Deletes the default reply markup message id 234 from chat 1234567890.

    deleteChatReplyMarkup(1234567890, 234)

    Response:

    {
      ["@type"] = "ok"
    }

Frequently Asked Questions
The Functions

Clone this wiki locally