comparison doc/jp/message.rst @ 3041:72583524cfd3

doc (jp): jp commands are now fully documented: rel 232
author Goffi <goffi@goffi.org>
date Tue, 01 Oct 2019 22:49:06 +0200
parents ce16847a7b6d
children 790489521b15
comparison
equal deleted inserted replaced
3040:fee60f17ebac 3041:72583524cfd3
4 message: chat message management 4 message: chat message management
5 ================================ 5 ================================
6 6
7 Message commands let you send chat messages or manage your server message archives. 7 Message commands let you send chat messages or manage your server message archives.
8 8
9 .. _jp-message_send:
10
9 send 11 send
10 ==== 12 ====
11 13
12 send a message to a contact or a chat room. 14 Send a message to a contact or a chat room.
13 ``stdin`` is used as message source. 15 ``stdin`` is used as message source.
14 You can encrypt your message using ``--encrypt [ALGORITHM]`` argument, this will create an encrypted session and replace existing one if needed. 16 You can encrypt your message using ``--encrypt [ALGORITHM]`` argument, this will create an encrypted session and replace existing one if needed.
15 You can manage your encrypted session using ``encryption`` command. 17 You can manage your encrypted session using ``encryption`` command.
16 18
17 examples 19 examples
34 $ echo 'Bonjour, je vous écris avec « Salut à Toi »' | jp message send -l fr -t normal -S 'Ceci est un message de test' 36 $ echo 'Bonjour, je vous écris avec « Salut à Toi »' | jp message send -l fr -t normal -S 'Ceci est un message de test'
35 37
36 mam 38 mam
37 === 39 ===
38 40
39 query archives using MAM. 41 Query archives using MAM.
40 This command allows you to check message archive kept on the server (i.e. not the local copy). 42 This command allows you to check message archive kept on the server (i.e. not the local copy).
41 You usually want to specify a starting point, and a number of message to retrieve. If too many messages 43 You usually want to specify a starting point, and a number of message to retrieve. If too many messages
42 are available, you'll have to use RSM commands to navigate through the results. 44 are available, you'll have to use RSM commands to navigate through the results.
43 45
44 examples 46 examples