Class TdApi.ChatTypeSecret

Enclosing class:
TdApi

public static class TdApi.ChatTypeSecret extends TdApi.ChatType
A secret chat with a user.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Identifier uniquely determining type of the object.
    int
    Secret chat identifier.
    long
    User identifier of the other user in the secret chat.
  • Constructor Summary

    Constructors
    Constructor
    Description
    A secret chat with a user.
    ChatTypeSecret(int secretChatId, long userId)
    A secret chat with a user.
  • Method Summary

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

    Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object

    toString

    Methods inherited from class java.lang.Object

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

    • secretChatId

      public int secretChatId
      Secret chat identifier.
    • userId

      public long userId
      User identifier of the other user in the secret chat.
    • CONSTRUCTOR

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

    • ChatTypeSecret

      public ChatTypeSecret()
      A secret chat with a user.
    • ChatTypeSecret

      public ChatTypeSecret(int secretChatId, long userId)
      A secret chat with a user.
      Parameters:
      secretChatId - Secret chat identifier.
      userId - User identifier of the other user in the secret chat.
  • 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