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