Class TdApi.CloseSecretChat

  • Enclosing class:
    TdApi

    public static class TdApi.CloseSecretChat
    extends TdApi.Function
    Closes a secret chat, effectively transfering its state to secretChatStateClosed.

    Returns Ok

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int secretChatId
      Secret chat identifier.
    • Constructor Summary

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

      • secretChatId

        public int secretChatId
        Secret chat identifier.
      • CONSTRUCTOR

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

      • CloseSecretChat

        public CloseSecretChat()
        Default constructor.
      • CloseSecretChat

        public CloseSecretChat​(int secretChatId)
        Constructor for initialization of all fields.
        Parameters:
        secretChatId - Secret chat identifier.