Exception: Telegram::Bot::Exceptions::ResponseError
- Defined in:
- sig/telegram/bot/core.rbs
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
- #data ⇒ Hash[Symbol | String, untyped]
- #error_code ⇒ Integer?
-
#initialize ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize ⇒ ResponseError
Returns a new instance of ResponseError.
44 |
# File 'sig/telegram/bot/core.rbs', line 44
def initialize: (response: untyped) -> void
|
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
43 44 45 |
# File 'sig/telegram/bot/core.rbs', line 43 def response @response end |
Instance Method Details
#data ⇒ Hash[Symbol | String, untyped]
46 |
# File 'sig/telegram/bot/core.rbs', line 46
def data: () -> Hash[Symbol | String, untyped]
|
#error_code ⇒ Integer?
45 |
# File 'sig/telegram/bot/core.rbs', line 45
def error_code: () -> Integer?
|