Make proper use of Reaction stuff in Teapot lib

This commit is contained in:
eleksir
2025-05-08 15:49:25 +03:00
parent 408dccd1b5
commit d21bab68ef
4 changed files with 186 additions and 1 deletions

View File

@@ -17,7 +17,6 @@ has 'emoji'; # Reaction emoji. Currently, it can be one of "👍", "
# "🎃", "🙈", "😇", "😨", "🤝", "✍", "🤗", "🫡", "🎅", "🎄", "☃", "💅", "🤪", "🗿", "🆒", "💘", "🙉", "🦄", "😘",
# "💊", "🙊", "😎", "👾", "🤷‍♂", "🤷", "🤷‍♀", "😡"
has 'custom_emoji_id'; # Only for ReactionTypeCustomEmoji. Custom emoji identifier.
has 'total_count'; # Only for ReactionCount. Number of times the reaction was added.
sub fields {
return {