Class: Telegram::Bot::Types::WebhookInfo
- Defined in:
- sig/telegram/bot/types/webhook_info.rbs
Instance Attribute Summary collapse
-
#allowed_updates ⇒ Array[String]?
readonly
Returns the value of attribute allowed_updates.
-
#has_custom_certificate ⇒ Boolean
readonly
Returns the value of attribute has_custom_certificate.
-
#ip_address ⇒ String?
readonly
Returns the value of attribute ip_address.
-
#last_error_date ⇒ Integer?
readonly
Returns the value of attribute last_error_date.
-
#last_error_message ⇒ String?
readonly
Returns the value of attribute last_error_message.
-
#last_synchronization_error_date ⇒ Integer?
readonly
Returns the value of attribute last_synchronization_error_date.
-
#max_connections ⇒ Integer?
readonly
Returns the value of attribute max_connections.
-
#pending_update_count ⇒ Integer
readonly
Returns the value of attribute pending_update_count.
-
#url ⇒ String
readonly
Returns the value of attribute url.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#allowed_updates ⇒ Array[String]? (readonly)
Returns the value of attribute allowed_updates.
16 17 18 |
# File 'sig/telegram/bot/types/webhook_info.rbs', line 16 def allowed_updates @allowed_updates end |
#has_custom_certificate ⇒ Boolean (readonly)
Returns the value of attribute has_custom_certificate.
9 10 11 |
# File 'sig/telegram/bot/types/webhook_info.rbs', line 9 def has_custom_certificate @has_custom_certificate end |
#ip_address ⇒ String? (readonly)
Returns the value of attribute ip_address.
11 12 13 |
# File 'sig/telegram/bot/types/webhook_info.rbs', line 11 def ip_address @ip_address end |
#last_error_date ⇒ Integer? (readonly)
Returns the value of attribute last_error_date.
12 13 14 |
# File 'sig/telegram/bot/types/webhook_info.rbs', line 12 def last_error_date @last_error_date end |
#last_error_message ⇒ String? (readonly)
Returns the value of attribute last_error_message.
13 14 15 |
# File 'sig/telegram/bot/types/webhook_info.rbs', line 13 def @last_error_message end |
#last_synchronization_error_date ⇒ Integer? (readonly)
Returns the value of attribute last_synchronization_error_date.
14 15 16 |
# File 'sig/telegram/bot/types/webhook_info.rbs', line 14 def last_synchronization_error_date @last_synchronization_error_date end |
#max_connections ⇒ Integer? (readonly)
Returns the value of attribute max_connections.
15 16 17 |
# File 'sig/telegram/bot/types/webhook_info.rbs', line 15 def max_connections @max_connections end |
#pending_update_count ⇒ Integer (readonly)
Returns the value of attribute pending_update_count.
10 11 12 |
# File 'sig/telegram/bot/types/webhook_info.rbs', line 10 def pending_update_count @pending_update_count end |
#url ⇒ String (readonly)
Returns the value of attribute url.
8 9 10 |
# File 'sig/telegram/bot/types/webhook_info.rbs', line 8 def url @url end |
Class Method Details
.new(url:, has_custom_certificate:, pending_update_count:, ip_address:, last_error_date:, last_error_message:, last_synchronization_error_date:, max_connections:, allowed_updates:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/webhook_info.rbs', line 6
def self.new: (url: String, has_custom_certificate: bool, pending_update_count: Integer, ?ip_address: String, ?last_error_date: Integer, ?last_error_message: String, ?last_synchronization_error_date: Integer, ?max_connections: Integer, ?allowed_updates: Array[String]) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|