Skip to content

Commit

Permalink
[docs] fix references
Browse files Browse the repository at this point in the history
  • Loading branch information
david-lev committed Dec 17, 2023
1 parent 2b1527c commit 0c592cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/content/flows/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ We need to provide our business private key to decrypt the request and encrypt t

We need to setup WhatsApp Business Encryption in order to decrypt the request and encrypt the response.
You can read more about it in `WhatsApp Business Encryption <https://developers.facebook.com/docs/whatsapp/cloud-api/reference/whatsapp-business-encryption>`_.
The public key can be uploaded using the :meth:`pywa.api.client.set_business_public_key.set_business_public_key` method.
The public key can be uploaded using the :meth:`pywa.client.WhatsApp.set_business_public_key` method.

After that. we are registering a callback function to handle the request.
The callback function will receive the :class:`FlowRequest` object and should return :class:`FlowResponse` object.
Expand Down
2 changes: 1 addition & 1 deletion pywa/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ class FlowCompletionHandler(Handler):
Args:
callback: The callback function (Takes a :class:`pywa.WhatsApp` instance and a
:class:`pywa.types.Flow` as arguments)
:class:`pywa.types.FlowCompletion` as arguments)
"""

Expand Down

0 comments on commit 0c592cb

Please sign in to comment.