Package it.tdlight.jni
Class TdApi.MessageContact
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessageContact
- Enclosing class:
- TdApi
public static class TdApi.MessageContact extends TdApi.MessageContent
A message with a user contact.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.Contact
contact
The contact description. -
Constructor Summary
Constructors Constructor Description MessageContact()
A message with a user contact.MessageContact(TdApi.Contact contact)
A message with a user contact.MessageContact(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
contact
The contact description. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
MessageContact
public MessageContact()A message with a user contact. -
MessageContact
A message with a user contact.- Parameters:
contact
- Contact The contact description.
-
MessageContact
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-