Create a new instance of SlackCMS

Param: slackToken

The Slack API token. A token usually begins with xoxb or xoxp. You get them from each workspace an app is installed onto. The app configuration pages help you get your first token for your development workspace

Param: options

Options to pass to the SlackCMS instance

Returns

A new instance of SlackCMS

Constructors

Properties

Methods

Constructors

Properties

options: Options
slackToken: string
web: WebClient

Methods

  • Get all posts from a channel

    Parameters

    • channelIdentifier: string

      The channel name or ID to get posts from

    Returns Promise<Post[]>

    An array of Post objects