Class: TD::Types::TextEntityType::MentionName

Inherits:
TD::Types::TextEntityType show all
Defined in:
lib/tdlib/types/text_entity_type/mention_name.rb

Overview

A text shows instead of a raw mention of the user (e.g., when the user has no username).

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#user_idInteger

Identifier of the mentioned user.

Returns:

  • (Integer)

    the current value of user_id



5
6
7
# File 'lib/tdlib/types/text_entity_type/mention_name.rb', line 5

def user_id
  @user_id
end