class
Hamilton::Types::PaidMediaLivePhoto
- Hamilton::Types::PaidMediaLivePhoto
- Reference
- Object
Overview
The paid media is a live 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
-
#live_photo : Hamilton::Types::LivePhoto
The photo.
-
#live_photo=(live_photo : Hamilton::Types::LivePhoto)
The photo.
-
#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.
-
#type : String
Type of the paid media, always "photo".
-
#type=(type : String)
Type of the paid media, always "photo".