Class: Telegrammer::DataTypes::GroupChat

Inherits:
Base
  • Object
show all
Defined in:
lib/telegrammer/data_types/group_chat.rb

Overview

Telegram GroupChat data type

See more at core.telegram.org/bots/api#groupchat

Instance Attribute Summary collapse

Instance Attribute Details

#idInteger

Unique identifier for this group chat

Returns:

  • (Integer)

    the current value of id



9
10
11
# File 'lib/telegrammer/data_types/group_chat.rb', line 9

def id
  @id
end

#titleString

Group name

Returns:

  • (String)

    the current value of title



9
10
11
# File 'lib/telegrammer/data_types/group_chat.rb', line 9

def title
  @title
end