You say#conversations.list
conversations.list
Conversations the bot is in, and the public channels it could join (with channels:read).
POST https://app.slaiky.xyz/api/methods/conversations.list · needs the bot token
Arguments
| Argument | Type | Required | What |
|---|---|---|---|
types | array of "channel" / "group" / "im" / "mpim" | no | Kinds to list: channel (public), group (private), im (DM), mpim (group DM). Default: all the app may read. Up to 4 items. |
excludeArchived | boolean | no | Default false. |
Answer
{ "ok": true, … } with: member: MyChannel[], public: Channel[]. A refusal is { "ok": false, "error": { "code", "message" } } (errors).
Example
The required arguments, with placeholders in angle brackets.
curl -s https://app.slaiky.xyz/api/methods/conversations.list \
-H "authorization: Bearer $SLAIKY_BOT_TOKEN" \
-H 'content-type: application/json' \
-d '{}'
Updated . Every method, scope, event and limit here is generated from the server’s own code.