Class: TD::Types::MessageEffect
- Defined in:
- lib/tdlib/types/message_effect.rb
Overview
Contains information about an effect added to a message.
Instance Attribute Summary collapse
-
#emoji ⇒ TD::Types::String
Emoji corresponding to the effect that can be used if static icon isn’t available.
-
#id ⇒ Integer
Unique identifier of the effect.
-
#is_premium ⇒ Boolean
True, if Telegram Premium subscription is required to use the effect.
-
#static_icon ⇒ TD::Types::Sticker?
Static icon for the effect in WEBP format; may be null if none.
-
#type ⇒ TD::Types::MessageEffectType
Type of the effect.
Method Summary
Methods inherited from Base
Instance Attribute Details
#emoji ⇒ TD::Types::String
Emoji corresponding to the effect that can be used if static icon isn’t available.
9 10 11 |
# File 'lib/tdlib/types/message_effect.rb', line 9 def emoji @emoji end |
#id ⇒ Integer
Unique identifier of the effect.
9 10 11 |
# File 'lib/tdlib/types/message_effect.rb', line 9 def id @id end |
#is_premium ⇒ Boolean
True, if Telegram Premium subscription is required to use the effect.
9 10 11 |
# File 'lib/tdlib/types/message_effect.rb', line 9 def is_premium @is_premium end |
#static_icon ⇒ TD::Types::Sticker?
Static icon for the effect in WEBP format; may be null if none.
9 10 11 |
# File 'lib/tdlib/types/message_effect.rb', line 9 def static_icon @static_icon end |
#type ⇒ TD::Types::MessageEffectType
Type of the effect.
9 10 11 |
# File 'lib/tdlib/types/message_effect.rb', line 9 def type @type end |