fluxer/fluxer_docs/schemas/events/TYPING_START.json
2026-02-17 12:22:36 +00:00

35 lines
1013 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"name": "TYPING_START",
"description": "Sent when a user starts typing in a channel.",
"scope": "channel",
"scopeNote": "Guild channels dispatch to guild scope; DMs dispatch to presence scope. May be disabled per-guild via guild settings.",
"dispatchedBy": ["POST /channels/:channel_id/typing"],
"payload": {
"type": "object",
"properties": {
"channel_id": {
"type": "string",
"description": "Channel ID"
},
"user_id": {
"type": "string",
"description": "ID of the user who started typing"
},
"timestamp": {
"type": "integer",
"description": "Unix timestamp (milliseconds) when typing started"
},
"guild_id": {
"type": "string",
"description": "Guild ID (only present for guild channels)"
},
"member": {
"$ref": "GuildMemberResponse",
"description": "Guild member object (only present for guild channels)"
}
},
"required": ["channel_id", "user_id", "timestamp"]
}
}