Class: TD::Types::PushMessageContent::Animation

Inherits:
TD::Types::PushMessageContent show all
Defined in:
lib/tdlib/types/push_message_content/animation.rb

Overview

An animation message (GIF-style)..

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#animationTD::Types::Animation?

Message content; may be null.

Returns:



7
8
9
# File 'lib/tdlib/types/push_message_content/animation.rb', line 7

def animation
  @animation
end

#captionTD::Types::String

Animation caption.

Returns:

  • (TD::Types::String)

    the current value of caption



7
8
9
# File 'lib/tdlib/types/push_message_content/animation.rb', line 7

def caption
  @caption
end

#is_pinnedBoolean

True, if the message is a pinned message with the specified content.

Returns:

  • (Boolean)

    the current value of is_pinned



7
8
9
# File 'lib/tdlib/types/push_message_content/animation.rb', line 7

def is_pinned
  @is_pinned
end