destroyReactionToAnnouncement abstract method

Future<MastodonResponse<Empty>> destroyReactionToAnnouncement({
  1. required String announcementId,
  2. required String emojiName,
})

Undo a react emoji to an announcement.

Parameters

  • announcementId: The ID of the Announcement in the database.

  • emojiName: Unicode emoji, or the shortcode of a custom emoji.

Endpoint Url

  • DELETE /api/v1/announcements/:id/reactions/:name HTTP/1.1

Authentication Methods

  • OAuth 2.0

Required Scopes

  • write:favourites

Reference

Implementation

Future<MastodonResponse<Empty>> destroyReactionToAnnouncement({
  required String announcementId,
  required String emojiName,
});