Typing under slowmode: map the 200 cooldown answer to ApiResult::TypingCooldown #363

Open
opened 2026-11-12 22:53:01 +00:00 by charles · 0 comments
Owner

Found while wiring Text chat 21 (#271). ApiResult::TypingCooldown { channel_id, message_send_cooldown_ms } exists in fluxer-core and its docs say the runtime maps it in Text chat 21, but fluxer_api::ApiClient::typing returns () and discards the 200 body ({message_send_cooldown_ms, thread_create_cooldown_ms}). It needs a fluxer-api change (return the cooldowns) before the runtime can map it; the runtime still answers TypingOk.

Found while wiring Text chat 21 (#271). `ApiResult::TypingCooldown { channel_id, message_send_cooldown_ms }` exists in `fluxer-core` and its docs say the runtime maps it in Text chat 21, but `fluxer_api::ApiClient::typing` returns `()` and discards the 200 body (`{message_send_cooldown_ms, thread_create_cooldown_ms}`). It needs a `fluxer-api` change (return the cooldowns) before the runtime can map it; the runtime still answers `TypingOk`.
charles added this to the Text chat milestone 2026-11-12 22:53:01 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#363
No description provided.