Package it.tdlight.jni
Class TdApi.InlineQueryResultContact
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InlineQueryResult
it.tdlight.jni.TdApi.InlineQueryResultContact
- Enclosing class:
- TdApi
public static class TdApi.InlineQueryResultContact extends TdApi.InlineQueryResult
Represents a user contact.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
TdApi.Contact
contact
A user contact.String
id
Unique identifier of the query result.TdApi.Thumbnail
thumbnail
Result thumbnail in JPEG format; may be null. -
Constructor Summary
Constructors Constructor Description InlineQueryResultContact()
Represents a user contact.InlineQueryResultContact(DataInput input)
InlineQueryResultContact(String id, TdApi.Contact contact, TdApi.Thumbnail thumbnail)
Represents a user contact. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
id
Unique identifier of the query result. -
contact
A user contact. -
thumbnail
Result thumbnail in JPEG format; may be null. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
InlineQueryResultContact
public InlineQueryResultContact()Represents a user contact. -
InlineQueryResultContact
Represents a user contact.- Parameters:
id
- String Unique identifier of the query result.contact
- Contact A user contact.thumbnail
- Thumbnail Result thumbnail in JPEG format; may be null.
-
InlineQueryResultContact
- 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()
-