Package org.drinkless.tdlib
Class TdApi.PushMessageContentLocation
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.PushMessageContent
-
- org.drinkless.tdlib.TdApi.PushMessageContentLocation
-
- Enclosing class:
- TdApi
public static class TdApi.PushMessageContentLocation extends TdApi.PushMessageContent
A message with a location.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.booleanisLiveTrue, if the location is live.booleanisPinnedTrue, if the message is a pinned message with the specified content.
-
Constructor Summary
Constructors Constructor Description PushMessageContentLocation()A message with a location.PushMessageContentLocation(boolean isLive, boolean isPinned)A message with a location.
-
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
-
isLive
public boolean isLive
True, if the location is live.
-
isPinned
public boolean isPinned
True, if the message is a pinned message with the specified content.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PushMessageContentLocation
public PushMessageContentLocation()
A message with a location.
-
PushMessageContentLocation
public PushMessageContentLocation(boolean isLive, boolean isPinned)A message with a location.- Parameters:
isLive- True, if the location is live.isPinned- True, if the message is a pinned message with the specified content.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-