class TelegramBot::Models::User

Overview

https://core.telegram.org/bots/api#user

Defined in:

telegram_bot/models.cr

Constructors

Instance Method Summary

Constructor methods inherited from class TelegramBot::Models::Base

new(pull : JSON::PullParser) new

Constructor Detail

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

https://core.telegram.org/bots/api#user


[View source]

Instance Method Detail

def first_name : String #

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

[View source]
def id : Int32 #

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

[View source]
def is_bot : Bool #

[View source]
def is_bot=(is_bot : Bool) #

[View source]
def language_code : String | Nil #

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

[View source]
def last_name : String | Nil #

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

[View source]
def username : String | Nil #

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

[View source]