Class: TD::Types::BotCommandScope::ChatMember

Inherits:
TD::Types::BotCommandScope show all
Defined in:
lib/tdlib/types/bot_command_scope/chat_member.rb

Overview

A scope covering a member of a chat.

Instance Attribute Summary collapse

Method Summary

Methods inherited from TD::Types::Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

Chat identifier.

Returns:

  • (Integer)

    the current value of chat_id



6
7
8
# File 'lib/tdlib/types/bot_command_scope/chat_member.rb', line 6

def chat_id
  @chat_id
end

#user_idInteger

User identifier.

Returns:

  • (Integer)

    the current value of user_id



6
7
8
# File 'lib/tdlib/types/bot_command_scope/chat_member.rb', line 6

def user_id
  @user_id
end