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