public static class TdApi.ChatSourcePublicServiceAnnouncement extends TdApi.ChatSource
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
text
The text of the announcement.
|
java.lang.String |
type
The type of the announcement.
|
| Constructor and Description |
|---|
ChatSourcePublicServiceAnnouncement()
The chat contains a public service announcement.
|
ChatSourcePublicServiceAnnouncement(java.lang.String type,
java.lang.String text)
The chat contains a public service announcement.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String type
public java.lang.String text
public static final int CONSTRUCTOR
public ChatSourcePublicServiceAnnouncement()
public ChatSourcePublicServiceAnnouncement(java.lang.String type,
java.lang.String text)
type - The type of the announcement.text - The text of the announcement.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object