mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Update examples.rst
just replaced `send_text_message` with `send_text`
This commit is contained in:
committed by
holger krekel
parent
6f290e249f
commit
8077fdeddb
@@ -22,7 +22,7 @@ For example you can type ``python`` and then::
|
|||||||
# create a contact and send a message
|
# create a contact and send a message
|
||||||
contact = ac.create_contact("someother@email.address")
|
contact = ac.create_contact("someother@email.address")
|
||||||
chat = ac.create_chat_by_contact(contact)
|
chat = ac.create_chat_by_contact(contact)
|
||||||
chat.send_text_message("hi from the python interpreter command line")
|
chat.send_text("hi from the python interpreter command line")
|
||||||
|
|
||||||
Checkout our :doc:`api` for the various high-level things you can do
|
Checkout our :doc:`api` for the various high-level things you can do
|
||||||
to send/receive messages, create contacts and chats.
|
to send/receive messages, create contacts and chats.
|
||||||
|
|||||||
Reference in New Issue
Block a user