lib/tdlib/client_methods.rb
# Changes the value of the default disable_notification parameter, used when a message is sent to a chat.
#
# @param chat_id [Integer] Chat identifier.
# @param default_disable_notification [Boolean] New value of default_disable_notification.
# @return [TD::Types::Ok]
Changes the value of the default disable_notification parameter, used when a message is sent to a chat.
Changes the value of the default disable_notification parameter used when a message is sent to a chat .
def toggle_chat_default_disable_notification(chat_id:, default_disable_notification:)
    broadcast('@type'                        => 'toggleChatDefaultDisableNotification',
              'chat_id'                      => chat_id,
              'default_disable_notification' => default_disable_notification)
  end
def toggle_chat_default_disable_notification ( chat_id : , default_disable_notification : ) broadcast ( '@type' => 'toggleChatDefaultDisableNotification' , 'chat_id' => chat_id , 'default_disable_notification' => default_disable_notification ) end
Changes the value of the default disable_notification parameter, used when a message is sent to a chat.
Changes the value of the default disable_notification parameter used when a message is sent to a chat .
None
TD::Types::Ok
chat_id
None
default_disable_notification
New value of default_disable_notification.
New value of default_disable_notification .