class
Tourmaline::InputProfilePhotoStatic
- Tourmaline::InputProfilePhotoStatic
- Reference
- Object
Overview
A static profile photo in the .JPG format.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
Instance Method Summary
-
#photo : String
The static profile photo.
-
#photo=(photo : String)
The static profile photo.
-
#type : String
Type of the profile photo, must be static
-
#type=(type : String)
Type of the profile photo, must be static
Constructor Detail
Instance Method Detail
The static 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 static 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