Class: TD::Types::InputChatPhoto::Animation
- Inherits:
-
TD::Types::InputChatPhoto
- Object
- Dry::Struct
- Base
- TD::Types::InputChatPhoto
- TD::Types::InputChatPhoto::Animation
- Defined in:
- lib/tdlib/types/input_chat_photo/animation.rb
Overview
An animation in MPEG4 format; must be square, at most 10 seconds long, have width between 160 and 800 and be at
most 2MB in size.
Instance Attribute Summary collapse
-
#animation ⇒ TD::Types::InputFile
Animation to be set as profile photo.
-
#main_frame_timestamp ⇒ Float
Timestamp of the frame, which will be used as static chat photo.
Method Summary
Methods inherited from Base
Instance Attribute Details
#animation ⇒ TD::Types::InputFile
Animation to be set as profile photo. Only TD::Types::InputFile::Local and TD::Types::InputFile::Generated are allowed.
8 9 10 |
# File 'lib/tdlib/types/input_chat_photo/animation.rb', line 8 def animation @animation end |
#main_frame_timestamp ⇒ Float
Timestamp of the frame, which will be used as static chat photo.
8 9 10 |
# File 'lib/tdlib/types/input_chat_photo/animation.rb', line 8 def @main_frame_timestamp end |