Class: Telegram::Bot::Types::ResponseParameters
- Defined in:
- sig/telegram/bot/types/response_parameters.rbs
Instance Attribute Summary collapse
-
#migrate_to_chat_id ⇒ Integer?
readonly
Returns the value of attribute migrate_to_chat_id.
-
#retry_after ⇒ Integer?
readonly
Returns the value of attribute retry_after.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#migrate_to_chat_id ⇒ Integer? (readonly)
Returns the value of attribute migrate_to_chat_id.
8 9 10 |
# File 'sig/telegram/bot/types/response_parameters.rbs', line 8 def migrate_to_chat_id @migrate_to_chat_id end |
#retry_after ⇒ Integer? (readonly)
Returns the value of attribute retry_after.
9 10 11 |
# File 'sig/telegram/bot/types/response_parameters.rbs', line 9 def retry_after @retry_after end |
Class Method Details
.new(migrate_to_chat_id:, retry_after:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/response_parameters.rbs', line 6
def self.new: (?migrate_to_chat_id: Integer, ?retry_after: Integer) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|