Class: TD::Types::ChatAdministrator

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/chat_administrator.rb

Overview

Contains information about a chat administrator.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#custom_titleTD::Types::String

Custom title of the administrator.

Returns:

  • (TD::Types::String)

    the current value of custom_title



7
8
9
# File 'lib/tdlib/types/chat_administrator.rb', line 7

def custom_title
  @custom_title
end

#is_ownerBoolean

True, if the user is the owner of the chat.

Returns:

  • (Boolean)

    the current value of is_owner



7
8
9
# File 'lib/tdlib/types/chat_administrator.rb', line 7

def is_owner
  @is_owner
end

#user_idInteger

User identifier of the administrator.

Returns:

  • (Integer)

    the current value of user_id



7
8
9
# File 'lib/tdlib/types/chat_administrator.rb', line 7

def user_id
  @user_id
end