class
Hamilton::Types::PaidMediaPhoto
- Hamilton::Types::PaidMediaPhoto
- Reference
- Object
Overview
The paid media is a photo.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/paid_media.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#photo : Array(Hamilton::Types::PhotoSize)
The photo.
-
#photo=(photo : Array(Hamilton::Types::PhotoSize))
The photo.
-
#type : String
Type of the paid media, always "photo".
-
#type=(type : String)
Type of the paid media, always "photo".