class TelegramApi::Types::Chat
- TelegramApi::Types::Chat
- Reference
- Object
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
Defined in:
telegram_api/src/types/chat.crConstructors
Instance Method Summary
-
#first_name : String | Nil
Optional.
-
#id : Int64
Unique identifier for this chat.
-
#is_forum : Bool | Nil
Optional.
-
#last_name : String | Nil
Optional.
-
#title : String | Nil
Optional.
-
#type : String
Type of the chat, can be either “private”, “group”, “supergroup” or “channel”
-
#username : String | Nil
Optional.
Constructor Detail
Instance Method Detail
def id : Int64
#
Unique identifier for this chat. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type are safe for storing this identifier.
def username : String | Nil
#
Optional. Username, for private chats, supergroups and channels if available