Package org.drinkless.tdlib
Class TdApi.ChatSourcePublicServiceAnnouncement
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.ChatSource
-
- org.drinkless.tdlib.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 intCONSTRUCTORIdentifier uniquely determining type of the object.StringtextThe text of the announcement.StringtypeThe type of the announcement.
-
Constructor Summary
Constructors Constructor Description ChatSourcePublicServiceAnnouncement()The chat contains a public service announcement.ChatSourcePublicServiceAnnouncement(String type, String text)The chat contains a public service announcement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
type
public String type
The type of the announcement.
-
text
public String text
The text of the announcement.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-