class TelegramBot::Models::CallbackGame

Overview

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

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(user_id : Int32, score : Int32, force : Bool | Nil = nil, disable_edit_message : Bool | Nil = nil, chat_id : Int64 | Nil = nil, message_id : Int32 | Nil = nil, inline_message_id : String | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

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


[View source]

Instance Method Detail

def chat_id : Int64 | Nil #

[View source]
def chat_id=(chat_id : Int64 | Nil) #

[View source]
def disable_edit_message : Bool | Nil #

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

[View source]
def force : Bool | Nil #

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

[View source]
def inline_message_id : String | Nil #

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

[View source]
def message_id : Int32 | Nil #

[View source]
def message_id=(message_id : Int32 | Nil) #

[View source]
def score : Int32 #

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

[View source]
def user_id : Int32 #

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

[View source]