Class TdApi.CloseChat

  • Enclosing class:
    TdApi

    public static class TdApi.CloseChat
    extends TdApi.Function
    Informs TDLib that the chat is closed by the user. Many useful activities depend on the chat being opened or closed.

    Returns Ok

    • Field Detail

      • chatId

        public long chatId
        Chat identifier.
      • CONSTRUCTOR

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

      • CloseChat

        public CloseChat()
        Default constructor for a function, which informs TDLib that the chat is closed by the user. Many useful activities depend on the chat being opened or closed.

        Returns Ok

      • CloseChat

        public CloseChat​(long chatId)
        Creates a function, which informs TDLib that the chat is closed by the user. Many useful activities depend on the chat being opened or closed.

        Returns Ok

        Parameters:
        chatId - Chat identifier.