class
Tourmaline::InputProfilePhotoAnimated
- Tourmaline::InputProfilePhotoAnimated
- Reference
- Object
Overview
An animated profile photo in the MPEG4 format.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(type : String, animation : String, main_frame_timestamp : Float64 | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#animation : String
The animated profile photo.
-
#animation=(animation : String)
The animated profile photo.
-
#main_frame_timestamp : Float64 | Nil
Optional.
-
#main_frame_timestamp=(main_frame_timestamp : Float64 | Nil)
Optional.
-
#type : String
Type of the profile photo, must be animated
-
#type=(type : String)
Type of the profile photo, must be animated
Constructor Detail
Instance Method Detail
The animated profile photo. Profile photos can't be reused and can only be uploaded as a new file, so you can pass "attach://<file_attach_name>" if the photo was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files: https://core.telegram.org/bots/api#sending-files
The animated profile photo. Profile photos can't be reused and can only be uploaded as a new file, so you can pass "attach://<file_attach_name>" if the photo was uploaded using multipart/form-data under <file_attach_name>. More information on Sending Files: https://core.telegram.org/bots/api#sending-files
Optional. Timestamp in seconds of the frame that will be used as the static profile photo. Defaults to 0.0.
Optional. Timestamp in seconds of the frame that will be used as the static profile photo. Defaults to 0.0.