get_messages_to_prune_below(
self,
count: int | None = None,
) -> list[MessageData| Name | Type | Description |
|---|---|---|
count | int | None | Default: None |
Get newest visible messages that should be pruned below the viewport.
Number of messages to prune, or enough to return to
WINDOW_SIZE when omitted.