Module tdlight.api

Class TdApi.PushMessageContentLocation

Enclosing class:
TdApi

public static class TdApi.PushMessageContentLocation extends TdApi.PushMessageContent
A message with a location.
  • Field Details

    • 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
      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

      public PushMessageContentLocation(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details