public static class TdApi.ChatSourcePublicServiceAnnouncement extends TdApi.ChatSource
TdApi.ChatSource.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.ChatSource