Skip to content
Version 2.32.0
↓ Get the launcher

IChat.TryGetSendCooldown method

Remaining SERVER-driven send cooldown on channel, from the last send reply’s cooldown end (sends through this service or the game’s own chat box) measured against the framework’s interpolated server clock. Returns false (0 s) when the channel is free or no cooldown has been seen yet — the server is still the authority, so a send can still be refused (watch SendResult for ErrorTooFrequent). Any thread.

public bool TryGetSendCooldown(ChatChannel channel, out double remainingSeconds)
parameter description
channel Channel to query (Say = the game’s “Current” channel).
remainingSeconds Seconds until the channel accepts a new message; 0 when free.