slackcalls is a part of slackverse

slackcalls
slackthreads
slackteams
slackposts
slackblocks
slackreprex

slackcalls is the backend of slackverse it interacts with Slack API methods

Posting to Slack

Files

Using files_slack interact with

Chats

Using chat_slack interact with

Querying Slack

Using post_slack you can query the API to get information such as the following lists. The functions paginate by default.

Team

Storage

slackcalls also saves internally posts that you make during a session in order to use the information for posting to a thread or deleting posts. This mechanism is used in all the slackverse packages.

Stacks

  • file_stack: vector of file IDs that have been sent
  • post_stack: list of posts that have been sent, contains information of ID, ts and where relevant thread_ts.

The stacks are updated every time a new post/file is sent or deleted.

Last Element

using file_last and post_last you can fetch the head of each stack.