/
overview.rst
70 lines (58 loc) 路 1.93 KB
/
overview.rst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
馃攲 Client
===========
.. currentmodule:: pywa.client
.. note::
WORK IN PROGRESS
The :class:`~WhatsApp` client has two responsibilities. Sending messages & handling updates.
.. autoclass:: WhatsApp()
:members: __init__
The available methods are:
.. list-table::
:widths: 40 60
:header-rows: 1
* - Category
- Methods
* - Sending messages
- :meth:`~WhatsApp.send_message`,
:meth:`~WhatsApp.send_image`,
:meth:`~WhatsApp.send_video`,
:meth:`~WhatsApp.send_audio`,
:meth:`~WhatsApp.send_document`,
:meth:`~WhatsApp.send_location`,
:meth:`~WhatsApp.send_contact`,
:meth:`~WhatsApp.send_sticker`,
:meth:`~WhatsApp.send_template`,
:meth:`~WhatsApp.send_catalog`,
:meth:`~WhatsApp.send_product`,
:meth:`~WhatsApp.send_products`,
:meth:`~WhatsApp.send_reaction`,
:meth:`~WhatsApp.remove_reaction`,
:meth:`~WhatsApp.mark_message_as_read`
* - Media
- :meth:`~WhatsApp.upload_media`,
:meth:`~WhatsApp.download_media`,
:meth:`~WhatsApp.get_media_url`
* - Templates
- :meth:`~WhatsApp.create_template`
* - Flows
- :meth:`~WhatsApp.create_flow`,
:meth:`~WhatsApp.update_flow_metadata`,
:meth:`~WhatsApp.update_flow_json`,
:meth:`~WhatsApp.publish_flow`,
:meth:`~WhatsApp.delete_flow`,
:meth:`~WhatsApp.deprecate_flow`,
:meth:`~WhatsApp.get_flow`,
:meth:`~WhatsApp.get_flows`,
:meth:`~WhatsApp.get_flow_assets`
* - Business profile
- :meth:`~WhatsApp.get_business_profile`,
:meth:`~WhatsApp.get_business_phone_number`,
:meth:`~WhatsApp.update_business_profile`
:meth:`~WhatsApp.update_conversational_automation`
:meth:`~WhatsApp.set_business_public_key`
* - Commerce
- :meth:`~WhatsApp.get_commerce_settings`,
:meth:`~WhatsApp.update_commerce_settings`
.. toctree::
client_reference
api_reference