Class: TD::Types::BotMediaPreview

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

Overview

Describes media previews of a bot.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#contentTD::Types::StoryContent

Content of the preview.

Returns:



6
7
8
# File 'lib/tdlib/types/bot_media_preview.rb', line 6

def content
  @content
end

#dateInteger

Point in time (Unix timestamp) when the preview was added or changed last time.

Returns:

  • (Integer)

    the current value of date



6
7
8
# File 'lib/tdlib/types/bot_media_preview.rb', line 6

def date
  @date
end