class Telecr::Types::Chat

Defined in:

api/types.cr

Constructors

Instance Method Summary

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

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def channel? : Bool #

[View source]
def chat_type : String #

[View source]
def chat_type=(chat_type : String) #

[View source]
def first_name : String | Nil #

[View source]
def first_name=(first_name : String | Nil) #

[View source]
def group? : Bool #

[View source]
def id : Int64 #

[View source]
def id=(id : Int64) #

[View source]
def is_forum : Bool | Nil #

[View source]
def is_forum=(is_forum : Bool | Nil) #

[View source]
def last_name : String | Nil #

[View source]
def last_name=(last_name : String | Nil) #

[View source]
def private? : Bool #

[View source]
def supergroup? : Bool #

[View source]
def title : String | Nil #

[View source]
def title=(title : String | Nil) #

[View source]
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>

[View source]
def username : String | Nil #

[View source]
def username=(username : String | Nil) #

[View source]