Class: TD::Types::ChatType::Supergroup

Inherits:
TD::Types::ChatType show all
Defined in:
lib/tdlib/types/chat_type/supergroup.rb

Overview

A supergroup (i.e. a chat with up to GetOption(“supergroup_max_size”) other users), or channel (with unlimited members).

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#is_channelBoolean

True, if the supergroup is a channel.

Returns:

  • (Boolean)

    the current value of is_channel



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

def is_channel
  @is_channel
end

#supergroup_idInteger

Supergroup or channel identifier.

Returns:

  • (Integer)

    the current value of supergroup_id



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

def supergroup_id
  @supergroup_id
end