Class: TD::Types::LinkPreviewType::User

Inherits:
TD::Types::LinkPreviewType show all
Defined in:
lib/tdlib/types/link_preview_type/user.rb

Overview

The link is a link to a user.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#is_botBoolean

True, if the user is a bot.

Returns:

  • (Boolean)

    the current value of is_bot



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

def is_bot
  @is_bot
end

#photoTD::Types::ChatPhoto?

Photo of the user; may be null if none.

Returns:



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

def photo
  @photo
end