From 29d766fef23548846caab394c55e642a1c06f9ef Mon Sep 17 00:00:00 2001 From: JRoot Junior Date: Tue, 14 Nov 2023 02:57:23 +0200 Subject: [PATCH] #1006 Update parameter description in chat_action.py The comment describing the 'initial_sleep' parameter in the chat_action.py script has been revised for clarity. It now accurately specifies this parameter's purpose as the waiting period prior to the first sending of the action, rather than just the first iteration. --- aiogram/utils/chat_action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/utils/chat_action.py b/aiogram/utils/chat_action.py index 6d7b7400..4d5fb567 100644 --- a/aiogram/utils/chat_action.py +++ b/aiogram/utils/chat_action.py @@ -43,7 +43,7 @@ class ChatActionSender: :param chat_id: target chat id :param action: chat action type :param interval: interval between iterations - :param initial_sleep: sleep before first iteration + :param initial_sleep: sleep before first sending of the action """ self.chat_id = chat_id self.message_thread_id = message_thread_id