RecentEmojiExtension extension
Syncs recent emojis in account data
Keeps recently used emojis stored in account data by
{ // the account data
"io.element.recent_emoji": {
"recent_emoji" : {
"emoji character": n, // number used
}
}
}
Proprietary extension by New Vector Ltd.
- on
Properties
-
recentEmojis
→ Map<
String, int> -
Available on Client, provided by the RecentEmojiExtension extension
returns the recently used emojis from the account datano setter
Methods
-
addRecentEmoji(
String emoji) → Future< void> -
Available on Client, provided by the RecentEmojiExtension extension
+1 the stated emoji in the account data -
setRecentEmojiData(
Map< String, int> data) → Future<void> -
Available on Client, provided by the RecentEmojiExtension extension
sets the raw recent emoji account data. Use addRecentEmoji instead