Class TdApi.CloseSecretChat

  • Enclosing class:
    TdApi

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

    Returns Ok

    • 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 for a function, which closes a secret chat, effectively transferring its state to secretChatStateClosed.

        Returns Ok

      • CloseSecretChat

        public CloseSecretChat​(int secretChatId)
        Creates a function, which closes a secret chat, effectively transferring its state to secretChatStateClosed.

        Returns Ok

        Parameters:
        secretChatId - Secret chat identifier.