Class: TD::Types::MessageContent::UsersShared

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

Overview

The current user shared users, which were 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/users_shared.rb', line 6

def button_id
  @button_id
end

#usersArray<TD::Types::SharedUser>

The shared users.

Returns:



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

def users
  @users
end