class
Telecr::Types::User
- Telecr::Types::User
- Telecr::Types::BaseType
- Reference
- Object
Defined in:
api/types.crConstructors
Instance Method Summary
- #added_to_attachment_menu : Bool | Nil
- #added_to_attachment_menu=(added_to_attachment_menu : Bool | Nil)
- #first_name : String
- #first_name=(first_name : String)
-
#full_name : String
Existing helper functionality
- #id : Int64
- #id=(id : Int64)
- #is_bot : Bool
- #is_bot=(is_bot : Bool)
- #is_premium : Bool | Nil
- #is_premium=(is_premium : Bool | Nil)
- #language_code : String | Nil
- #language_code=(language_code : String | Nil)
- #last_name : String | Nil
- #last_name=(last_name : String | Nil)
- #mention : String
-
#to_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
- #username : String | Nil
- #username=(username : String | Nil)
Instance methods inherited from class Telecr::Types::BaseType
inspect(io : IO) : Nil
inspect,
to_h : Hash(String, JSON::Any)
to_h
Constructor methods inherited from class Telecr::Types::BaseType
new(pull : JSON::PullParser)
new
Constructor Detail
Instance Method Detail
def to_s(io : IO) : Nil
#
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>