Class TdApi.CreateNewSecretChat

  • Enclosing class:
    TdApi

    public static class TdApi.CreateNewSecretChat
    extends TdApi.Function
    Creates a new secret chat. Returns the newly created chat.

    Returns Chat

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int userId
      Identifier of the target user.
    • Field Detail

      • userId

        public int userId
        Identifier of the target user.
      • CONSTRUCTOR

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

      • CreateNewSecretChat

        public CreateNewSecretChat()
        Default constructor.
      • CreateNewSecretChat

        public CreateNewSecretChat​(int userId)
        Constructor for initialization of all fields.
        Parameters:
        userId - Identifier of the target user.