java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PushMessageContent
it.tdlight.jni.TdApi.PushMessageContentLocation
- Enclosing class:
- TdApi
A message with a location.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
boolean
True, if the location is live.boolean
True, if the message is a pinned message with the specified content. -
Constructor Summary
ConstructorDescriptionA message with a location.PushMessageContentLocation
(boolean isLive, boolean isPinned) A message with a location. -
Method Summary
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:
-
-
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()
-