Class: TD::Types::EmojiReaction

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/emoji_reaction.rb

Overview

Contains information about an emoji reaction.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#activate_animation ⇒ TD::Types::Sticker

Activate animation for the reaction.

Returns:



14
15
16
# File 'lib/tdlib/types/emoji_reaction.rb', line 14

def activate_animation
  @activate_animation
end

#appear_animation ⇒ TD::Types::Sticker

Appear animation for the reaction.

Returns:



14
15
16
# File 'lib/tdlib/types/emoji_reaction.rb', line 14

def appear_animation
  @appear_animation
end

#around_animation ⇒ TD::Types::Sticker?

Around animation for the reaction; may be null.

Returns:



14
15
16
# File 'lib/tdlib/types/emoji_reaction.rb', line 14

def around_animation
  @around_animation
end

#center_animation ⇒ TD::Types::Sticker?

Center animation for the reaction; may be null.

Returns:



14
15
16
# File 'lib/tdlib/types/emoji_reaction.rb', line 14

def center_animation
  @center_animation
end

#effect_animation ⇒ TD::Types::Sticker

Effect animation for the reaction.

Returns:



14
15
16
# File 'lib/tdlib/types/emoji_reaction.rb', line 14

def effect_animation
  @effect_animation
end

#emoji ⇒ TD::Types::String

Text representation of the reaction.

Returns:

  • (TD::Types::String) —

    the current value of emoji



14
15
16
# File 'lib/tdlib/types/emoji_reaction.rb', line 14

def emoji
  @emoji
end

#is_active ⇒ Boolean

True, if the reaction can be added to new messages and enabled in chats.

Returns:

  • (Boolean) —

    the current value of is_active



14
15
16
# File 'lib/tdlib/types/emoji_reaction.rb', line 14

def is_active
  @is_active
end

#select_animation ⇒ TD::Types::Sticker

Select animation for the reaction.

Returns:



14
15
16
# File 'lib/tdlib/types/emoji_reaction.rb', line 14

def select_animation
  @select_animation
end

#static_icon ⇒ TD::Types::Sticker

Static icon for the reaction.

Returns:



14
15
16
# File 'lib/tdlib/types/emoji_reaction.rb', line 14

def static_icon
  @static_icon
end

#title ⇒ TD::Types::String

Reaction title.

Returns:

  • (TD::Types::String) —

    the current value of title



14
15
16
# File 'lib/tdlib/types/emoji_reaction.rb', line 14

def title
  @title
end