Skip to content

Commit

Permalink
#1006 Update parameter description in chat_action.py
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
JrooTJunior committed Nov 14, 2023
1 parent 2f1ae0a commit 29d766f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiogram/utils/chat_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(
: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
Expand Down

0 comments on commit 29d766f

Please sign in to comment.