Class: TD::Types::PushMessageContent::PaidMedia
- Inherits:
-
TD::Types::PushMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::PushMessageContent
- TD::Types::PushMessageContent::PaidMedia
- Defined in:
- lib/tdlib/types/push_message_content/paid_media.rb
Overview
A message with paid media.
Instance Attribute Summary collapse
-
#is_pinned ⇒ Boolean
True, if the message is a pinned message with the specified content.
-
#star_count ⇒ Integer
Number of Telegram Stars needed to buy access to the media in the message; 0 for pinned message.
Method Summary
Methods inherited from Base
Instance Attribute Details
#is_pinned ⇒ Boolean
True, if the message is a pinned message with the specified content.
7 8 9 |
# File 'lib/tdlib/types/push_message_content/paid_media.rb', line 7 def is_pinned @is_pinned end |
#star_count ⇒ Integer
Number of Telegram Stars needed to buy access to the media in the message; 0 for pinned message.
7 8 9 |
# File 'lib/tdlib/types/push_message_content/paid_media.rb', line 7 def star_count @star_count end |