Package it.tdlight.jni
Class TdApi.ChatSourcePublicServiceAnnouncement
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatSource
it.tdlight.jni.TdApi.ChatSourcePublicServiceAnnouncement
- Enclosing class:
- TdApi
public static class TdApi.ChatSourcePublicServiceAnnouncement extends TdApi.ChatSource
The chat contains a public service announcement.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
text
The text of the announcement.String
type
The type of the announcement. -
Constructor Summary
Constructors Constructor Description ChatSourcePublicServiceAnnouncement()
The chat contains a public service announcement.ChatSourcePublicServiceAnnouncement(DataInput input)
ChatSourcePublicServiceAnnouncement(String type, String text)
The chat contains a public service announcement. -
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
-
type
The type of the announcement. -
text
The text of the announcement. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ChatSourcePublicServiceAnnouncement
public ChatSourcePublicServiceAnnouncement()The chat contains a public service announcement. -
ChatSourcePublicServiceAnnouncement
The chat contains a public service announcement.- Parameters:
type
- String The type of the announcement.text
- String The text of the announcement.
-
ChatSourcePublicServiceAnnouncement
- 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()
-