java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatSource
it.tdlight.jni.TdApi.ChatSourcePublicServiceAnnouncement
- Enclosing class:
- TdApi
The chat contains a public service announcement.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The text of the announcement.The type of the announcement. -
Constructor Summary
ConstructorDescriptionThe chat contains a public service announcement.The chat contains a public service announcement.ChatSourcePublicServiceAnnouncement
(String type, String text) The chat contains a public service announcement. -
Method Summary
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:
-
-
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
The chat contains a public service announcement.- 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()
-