Class: TD::Types::AnimatedChatPhoto

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

Overview

Animated variant of a chat photo in MPEG4 format.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#fileTD::Types::File

Information about the animation file.

Returns:



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

def file
  @file
end

#lengthInteger

Animation width and height.

Returns:

  • (Integer)

    the current value of length



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

def length
  @length
end

#main_frame_timestampFloat

Timestamp of the frame, used as a static chat photo.

Returns:

  • (Float)

    the current value of main_frame_timestamp



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

def main_frame_timestamp
  @main_frame_timestamp
end