Time a user out and purge their chat messages. They cannot send messages until the duration is over. The user being timed out must be in the channel.
To time a user out you must use a valid OAuth token with the chat:timeout
scope.
30s
or 1m15s
), or providing no unit will result in the value being taken as seconds. You can also use the string clear
to clear a timeout.{
"type": "method",
"method": "timeout",
"arguments": ["username", "30s"],
"id": 4
}
{
"type": "reply",
"error": null,
"id": 4,
"data": "username has been timed out for 30s."
}
Copyright Microsoft. Spot an issue?