Package it.tdlight.jni
Class TdApi.PushMessageContentContact
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PushMessageContent
it.tdlight.jni.TdApi.PushMessageContentContact
- Enclosing class:
- TdApi
public static class TdApi.PushMessageContentContact extends TdApi.PushMessageContent
A message with a user contact.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
boolean
isPinned
True, if the message is a pinned message with the specified content.String
name
Contact's name. -
Constructor Summary
Constructors Constructor Description PushMessageContentContact()
A message with a user contact.PushMessageContentContact(DataInput input)
PushMessageContentContact(String name, boolean isPinned)
A message with 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
-
name
Contact's name. -
isPinned
public boolean isPinnedTrue, if the message is a pinned message with the specified content. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
PushMessageContentContact
public PushMessageContentContact()A message with a user contact. -
PushMessageContentContact
A message with a user contact.- Parameters:
name
- String Contact's name.isPinned
- boolean True, if the message is a pinned message with the specified content.
-
PushMessageContentContact
- 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()
-