zalobot-python 0.2.2__tar.gz → 0.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: zalobot-python
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Python SDK for the Zalo Bot API
5
5
  Author: NovaH00
6
6
  Author-email: NovaH00 <trantay2006super@gmail.com>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "zalobot-python"
3
- version = "0.2.2"
3
+ version = "0.2.3"
4
4
  description = "Python SDK for the Zalo Bot API"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -70,13 +70,13 @@ class ZaloBot[S: BotStates = UnconfiguredWebhook]:
70
70
 
71
71
  async def setWebhook(
72
72
  self: ZaloBot[UnconfiguredWebhook],
73
- url: str,
73
+ webhook_url: str,
74
74
  secret_token: str,
75
75
  ) -> WebhookInfo:
76
76
  url = f"{self._base_url}/setWebhook"
77
77
 
78
78
  payload = {
79
- "url": url,
79
+ "url": webhook_url,
80
80
  "secret_token": secret_token
81
81
  }
82
82
 
File without changes