Class: TD::Types::MessageContent::ChatShared

Inherits:
TD::Types::MessageContent show all
Defined in:
lib/tdlib/types/message_content/chat_shared.rb

Overview

The current user shared a chat, which was requested by the bot.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#button_idInteger

Identifier of the keyboard button with the request.

Returns:

  • (Integer)

    the current value of button_id



6
7
8
# File 'lib/tdlib/types/message_content/chat_shared.rb', line 6

def button_id
  @button_id
end

#chatTD::Types::SharedChat

The shared chat.

Returns:



6
7
8
# File 'lib/tdlib/types/message_content/chat_shared.rb', line 6

def chat
  @chat
end