class
Hamilton::Types::PaidMediaInfo
- Hamilton::Types::PaidMediaInfo
- Reference
- Object
Overview
Describes the paid media added to a message.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/paid_media_info.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.
-
#paid_media : Array(Hamilton::Types::PaidMedia)
Information about the paid media.
-
#paid_media=(paid_media : Array(Hamilton::Types::PaidMedia))
Information about the paid media.
-
#star_count : Int32
The number of Telegram Stars that must be paid to buy access to the media.
-
#star_count=(star_count : Int32)
The number of Telegram Stars that must be paid to buy access to the media.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
def star_count=(star_count : Int32)
#
The number of Telegram Stars that must be paid to buy access to the media.