Package it.tdlight.jni
Class TdApi.PushMessageContentLocation
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PushMessageContent
it.tdlight.jni.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 int
CONSTRUCTOR
boolean
isLive
True, if the location is live.boolean
isPinned
True, 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.PushMessageContentLocation(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
isLive
public boolean isLiveTrue, if the location is live. -
isPinned
public boolean isPinnedTrue, if the message is a pinned message with the specified content. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
PushMessageContentLocation
public PushMessageContentLocation()A message with a location. -
PushMessageContentLocation
public PushMessageContentLocation(boolean isLive, boolean isPinned)A message with a location.- Parameters:
isLive
- boolean True, if the location is live.isPinned
- boolean True, if the message is a pinned message with the specified content.
-
PushMessageContentLocation
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-