createReactionToAnnouncement abstract method
React to an announcement with an emoji.
Parameters
-
announcementId
: The ID of the Announcement in the database. -
emojiName
: Unicode emoji, or the shortcode of a custom emoji.
Endpoint Url
- PUT /api/v1/announcements/:id/reactions/:name HTTP/1.1
Authentication Methods
- OAuth 2.0
Required Scopes
- write:favourites
Reference
Implementation
Future<MastodonResponse<Empty>> createReactionToAnnouncement({
required String announcementId,
required String emojiName,
});