lib/tdlib/client_methods.rb
# Removes an active notification from notification list.
# Needs to be called only if the notification is removed by the current user.
#
# @param notification_group_id [Integer] Identifier of notification group to which the notification belongs.
# @param notification_id [Integer] Identifier of removed notification.
# @return [TD::Types::Ok]
Removes an active notification from notification list.
Needs to be called only if the notification is removed by the current user.
Removes an active notification from notification list . Needs to be called only if the notification is removed by the current user .
def remove_notification(notification_group_id:, notification_id:)
    broadcast('@type'                 => 'removeNotification',
              'notification_group_id' => notification_group_id,
              'notification_id'       => notification_id)
  end
def remove_notification ( notification_group_id : , notification_id : ) broadcast ( '@type' => 'removeNotification' , 'notification_group_id' => notification_group_id , 'notification_id' => notification_id ) end
Removes an active notification from notification list.
Removes an active notification from notification list .
None
TD::Types::Ok
notification_group_id
Identifier of notification group to which the notification belongs.
Identifier of notification group to which the notification belongs .
notification_id
Identifier of removed notification.
Identifier of removed notification .