mirror of
https://github.com/EvolutionAPI/evolution-client-python.git
synced 2025-12-19 03:42:22 -06:00
style: format codebase with ruff
This commit is contained in:
@@ -38,9 +38,7 @@ class ChatService:
|
||||
instance_token=instance_token,
|
||||
)
|
||||
|
||||
def delete_message_for_everyone(
|
||||
self, instance_id: str, data: MessageKey, instance_token: str
|
||||
):
|
||||
def delete_message_for_everyone(self, instance_id: str, data: MessageKey, instance_token: str):
|
||||
return self.client.delete(
|
||||
f"chat/deleteMessageForEveryone/{instance_id}",
|
||||
data=data.__dict__,
|
||||
@@ -65,9 +63,7 @@ class ChatService:
|
||||
instance_token=instance_token,
|
||||
)
|
||||
|
||||
def update_message(
|
||||
self, instance_id: str, data: UpdateMessage, instance_token: str
|
||||
):
|
||||
def update_message(self, instance_id: str, data: UpdateMessage, instance_token: str):
|
||||
return self.client.post(
|
||||
f"chat/updateMessage/{instance_id}",
|
||||
data=data.__dict__,
|
||||
|
||||
Reference in New Issue
Block a user