add typing start event

This commit is contained in:
bitfl0wer 2023-04-25 22:08:09 +02:00
parent b8cc81d8c1
commit dee8c0bb4e
No known key found for this signature in database
GPG Key ID: 84BBB60DF895ABF2
1 changed files with 9 additions and 0 deletions

View File

@ -679,3 +679,12 @@ struct RoleSubscriptionData {
total_months_subscribed: u32, total_months_subscribed: u32,
is_renewal: bool, is_renewal: bool,
} }
#[derive(Debug, Deserialize, Serialize)]
struct TypingStartEvent {
channel_id: String,
guild_id: Option<String>,
user_id: String,
timestamp: i64,
member: Option<GuildMember>,
}