class
Telecr::Types::Chat
- Telecr::Types::Chat
- Telecr::Types::BaseType
- Reference
- Object
Overview
Chat object
Defined in:
api/types.crInstance Method Summary
- #channel? : Bool
- #chat_type : String | Nil
- #first_name : String | Nil
- #group? : Bool
- #id : Int64 | Nil
- #last_name : String | Nil
- #private? : Bool
- #supergroup? : Bool
- #title : String | Nil
-
#to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #username : String | Nil
Instance methods inherited from class Telecr::Types::BaseType
inspect(io : IO) : Nil
inspect,
raw : Hash(String, JSON::Any)
raw,
to_h : Hash(String, JSON::Any)
to_h,
to_s(io : IO) : Nil
to_s
Constructor methods inherited from class Telecr::Types::BaseType
new(raw : Hash(String, JSON::Any))
new
Instance Method Detail
def to_s : String
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.