class TelegramBot::Models::WebhookInfo

Overview

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

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#webhookinfo


[View source]

Instance Method Detail

def allowed_updates : Array(String) | Nil #

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

[View source]
def has_custom_certificate : Bool #

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

[View source]
def last_error_date : Int32 | Nil #

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

[View source]
def last_error_message : String | Nil #

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

[View source]
def max_connections : Int32 | Nil #

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

[View source]
def pending_update_count : Int32 #

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

[View source]
def url : String #

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

[View source]