class

Tourmaline::InputProfilePhotoStatic

Inherits JSON::Serializable < Reference < Object

A static profile photo in the .JPG format.

Constructors

new(type : String, photo : String)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

photo

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

Source
photo=(photo : String)

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

Source
type

Type of the profile photo, must be static

Source
type=(type : String)

Type of the profile photo, must be static

Source