Class: TD::Types::PageBlockCaption

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

Overview

Contains a caption of an instant view web page block, consisting of a text and a trailing credit.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#creditTD::Types::RichText

Block credit (like HTML tag ).

Returns:



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

def credit
  @credit
end

#textTD::Types::RichText

Content of the caption.

Returns:



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

def text
  @text
end