thinking()

Client.thinking(chat_id: int | str, text: str = 'Thinking...', can_stop: bool = True)

Context manager for displaying an animated native thinking draft while executing code.

Context manager to show native animated thinking state during background processing.