public static class TdApi.PushMessageContentLocation extends TdApi.PushMessageContent
TdApi.PushMessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
isLive
True, if the location is live.
|
boolean |
isPinned
True, if the message is a pinned message with the specified content.
|
Constructor and Description |
---|
PushMessageContentLocation()
A message with a location.
|
PushMessageContentLocation(boolean isLive,
boolean isPinned)
A message with a location.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public boolean isLive
public boolean isPinned
public static final int CONSTRUCTOR
public PushMessageContentLocation()
public PushMessageContentLocation(boolean isLive, boolean isPinned)
isLive
- True, if the location is live.isPinned
- True, if the message is a pinned message with the specified content.public int getConstructor()
getConstructor
in class TdApi.PushMessageContent