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