#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.
This commit is contained in:
JRoot Junior 2023-11-14 02:57:23 +02:00
parent 2f1ae0a686
commit 29d766fef2
No known key found for this signature in database
GPG key ID: 738964250D5FF6E2

View file

@ -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