Class TdApi.ChatNearby

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatNearby
Enclosing class:
TdApi

public static class TdApi.ChatNearby extends TdApi.Object
Describes a chat located nearby.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    Chat identifier.
    static final int
    Identifier uniquely determining type of the object.
    int
    Distance to the chat location, in meters.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Describes a chat located nearby.
    ChatNearby(long chatId, int distance)
    Describes a chat located nearby.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • distance

      public int distance
      Distance to the chat location, in meters.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • ChatNearby

      public ChatNearby()
      Describes a chat located nearby.
    • ChatNearby

      public ChatNearby(long chatId, int distance)
      Describes a chat located nearby.
      Parameters:
      chatId - Chat identifier.
      distance - Distance to the chat location, in meters.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR