Class: Telegram::Bot::Types::RevenueWithdrawalStateSucceeded
- Defined in:
- sig/telegram/bot/types/revenue_withdrawal_state_succeeded.rbs
Instance Attribute Summary collapse
-
#date ⇒ Integer
readonly
Returns the value of attribute date.
-
#type ⇒ String
readonly
Returns the value of attribute type.
-
#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
#date ⇒ Integer (readonly)
Returns the value of attribute date.
9 10 11 |
# File 'sig/telegram/bot/types/revenue_withdrawal_state_succeeded.rbs', line 9 def date @date end |
#type ⇒ String (readonly)
Returns the value of attribute type.
8 9 10 |
# File 'sig/telegram/bot/types/revenue_withdrawal_state_succeeded.rbs', line 8 def type @type end |
#url ⇒ String (readonly)
Returns the value of attribute url.
10 11 12 |
# File 'sig/telegram/bot/types/revenue_withdrawal_state_succeeded.rbs', line 10 def url @url end |
Class Method Details
.new(type:, date:, url:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/revenue_withdrawal_state_succeeded.rbs', line 6
def self.new: (?type: String, date: Integer, url: String) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|