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