summaryrefslogtreecommitdiff
path: root/src/types/MessageReactionUpdated.zig
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2024-07-20 17:22:25 +0300
committerGravatar Uko Kokņevičs2024-07-20 17:22:25 +0300
commitc70ffd095a6de5cd5b872796a0d82a8c5afc1511 (patch)
tree56183274b05a294e357bad4d06b523472a1c4a4a /src/types/MessageReactionUpdated.zig
downloadukkobot-c70ffd095a6de5cd5b872796a0d82a8c5afc1511.tar.gz
ukkobot-c70ffd095a6de5cd5b872796a0d82a8c5afc1511.tar.xz
ukkobot-c70ffd095a6de5cd5b872796a0d82a8c5afc1511.zip
Initial commit
Diffstat (limited to 'src/types/MessageReactionUpdated.zig')
-rw-r--r--src/types/MessageReactionUpdated.zig11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/types/MessageReactionUpdated.zig b/src/types/MessageReactionUpdated.zig
new file mode 100644
index 0000000..7da679b
--- /dev/null
+++ b/src/types/MessageReactionUpdated.zig
@@ -0,0 +1,11 @@
1const Chat = @import("Chat.zig");
2const ReactionType = @import("reaction_type.zig").ReactionType;
3const User = @import("User.zig");
4
5chat: Chat,
6message_id: u64,
7user: ?User = null,
8actor_chat: ?Chat = null,
9date: u64,
10old_reaction: []ReactionType,
11new_reaction: []ReactionType,