parent
9d683e4669
commit
86729a862c
14 changed files with 44 additions and 41 deletions
|
@ -25,13 +25,13 @@ from __future__ import print_function
|
|||
import json
|
||||
import argparse
|
||||
|
||||
usage = """recent-messages [options] --count=<no. of previous messages> --user=<sender's email address> --api-key=<sender's api key>
|
||||
usage = """recent-messages [options] --count=<no. of previous messages>
|
||||
|
||||
Prints out last count messages received by the indicated bot or user
|
||||
Prints out last count messages received by the bot or user used for authentication.
|
||||
|
||||
Example: recent-messages --count=101 --user=username@example.com --api-key=a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5
|
||||
Example: recent-messages --count=101
|
||||
|
||||
You can omit --user and --api-key arguments if you have a properly set up ~/.zuliprc
|
||||
Specify your Zulip API credentials and server in a ~/.zuliprc file or using the options.
|
||||
"""
|
||||
|
||||
import zulip
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue