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 int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int secretChatId
      Secret chat identifier.
      int userId
      User identifier of the secret chat peer.
    • Constructor Summary

      Constructors 
      Constructor Description
      ChatTypeSecret()
      Default constructor.
      ChatTypeSecret​(int secretChatId, int userId)
      Constructor for initialization of all fields.
    • Field Detail

      • secretChatId

        public int secretChatId
        Secret chat identifier.
      • userId

        public int userId
        User identifier of the secret chat peer.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ChatTypeSecret

        public ChatTypeSecret()
        Default constructor.
      • ChatTypeSecret

        public ChatTypeSecret​(int secretChatId,
                              int userId)
        Constructor for initialization of all fields.
        Parameters:
        secretChatId - Secret chat identifier.
        userId - User identifier of the secret chat peer.