class Tourmaline::PaidMediaPhoto
- Tourmaline::PaidMediaPhoto
- Reference
- Object
Overview
The paid media is a photo.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(pull : JSON::PullParser)
- .new(type : String, photo : Array(Tourmaline::PhotoSize) = [] of Tourmaline::PhotoSize)
Instance Method Summary
-
#photo : Array(Tourmaline::PhotoSize)
The photo
-
#photo=(photo : Array(Tourmaline::PhotoSize))
The photo
-
#type : String
Type of the paid media, always "photo"
-
#type=(type : String)
Type of the paid media, always "photo"