Class: TD::Types::PushMessageContent::Sticker
- Inherits:
-
TD::Types::PushMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::PushMessageContent
- TD::Types::PushMessageContent::Sticker
- Defined in:
- lib/tdlib/types/push_message_content/sticker.rb
Overview
A message with a sticker.
Instance Attribute Summary collapse
-
#emoji ⇒ TD::Types::String?
Emoji corresponding to the sticker; may be empty.
-
#is_pinned ⇒ Boolean
True, if the message is a pinned message with the specified content.
-
#sticker ⇒ TD::Types::Sticker?
Message content; may be null.
Method Summary
Methods inherited from Base
Instance Attribute Details
#emoji ⇒ TD::Types::String?
Emoji corresponding to the sticker; may be empty.
7 8 9 |
# File 'lib/tdlib/types/push_message_content/sticker.rb', line 7 def emoji @emoji end |
#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/sticker.rb', line 7 def is_pinned @is_pinned end |
#sticker ⇒ TD::Types::Sticker?
Message content; may be null.
7 8 9 |
# File 'lib/tdlib/types/push_message_content/sticker.rb', line 7 def sticker @sticker end |