Class: TD::Types::Update::ChatReplyMarkup

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/chat_reply_markup.rb

Overview

The default chat reply markup was changed. Can occur because new messages with reply markup were received or because an old reply markup was hidden by the user.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

Chat identifier.

Returns:

  • (Integer)

    the current value of chat_id



9
10
11
# File 'lib/tdlib/types/update/chat_reply_markup.rb', line 9

def chat_id
  @chat_id
end

#reply_markup_message_idInteger

Identifier of the message from which reply markup needs to be used; 0 if there is no default custom reply markup in the chat.

Returns:

  • (Integer)

    the current value of reply_markup_message_id



9
10
11
# File 'lib/tdlib/types/update/chat_reply_markup.rb', line 9

def reply_markup_message_id
  @reply_markup_message_id
end