Class TdApi.ToggleChatDefaultDisableNotification

  • Enclosing class:
    TdApi

    public static class TdApi.ToggleChatDefaultDisableNotification
    extends TdApi.Function
    Changes the value of the default disableNotification parameter, used when a message is sent to a chat.

    Returns Ok

    • Field Detail

      • chatId

        public long chatId
        Chat identifier.
      • defaultDisableNotification

        public boolean defaultDisableNotification
        New value of defaultDisableNotification.
      • CONSTRUCTOR

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

      • ToggleChatDefaultDisableNotification

        public ToggleChatDefaultDisableNotification()
        Default constructor for a function, which changes the value of the default disableNotification parameter, used when a message is sent to a chat.

        Returns Ok

      • ToggleChatDefaultDisableNotification

        public ToggleChatDefaultDisableNotification​(long chatId,
                                                    boolean defaultDisableNotification)
        Creates a function, which changes the value of the default disableNotification parameter, used when a message is sent to a chat.

        Returns Ok

        Parameters:
        chatId - Chat identifier.
        defaultDisableNotification - New value of defaultDisableNotification.