Class: TD::Types::MessageContent::Contact

Inherits:
TD::Types::MessageContent show all
Defined in:
lib/tdlib/types/message_content/contact.rb

Overview

A message with a user contact.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#contactTD::Types::Contact

The contact description.

Returns:



5
6
7
# File 'lib/tdlib/types/message_content/contact.rb', line 5

def contact
  @contact
end