For the complete documentation index, see llms.txt. This page is also available as Markdown.

GetChannelMessages

Task to retrieve recent messages from a Slack channel, with optional parameters for pagination and thread inclusion.

Task version: 1.0.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

ChannelId : String

Channel ID where the message exists

Default: - Example: C12345678

Limit : Nullable<Int32>

Maximum number of messages to retrieve

Default: - Example: 100

Latest : String

Fetch messages before this timestamp (used for pagination)

Default: - Example: 1623878400.000200

Oldest : String

Fetch messages after this timestamp (used for pagination)

Default: - Example: 1623792000.000100

Task Result

Name
Description

Success : Boolean

Indicates if the task completed successfully. Example: true

Messages : List<Message>

List of messages retrieved from the channel

HasMore : Boolean

Whether more messages are available for pagination Example: true

Error : Error

Error that occurred during task execution. Example: object { string Message, object { Exception Exception } AdditionalInfo }

Task Changelog

Changelog for Task Frends.Slack.GetChannelMessages.

[1.1.0] - 2025-08-06

Changed

  • Improved error handling

  • Marked token as a password property

[1.0.0] - 2025-07-30

Added

  • Initial implementation

Last updated

Was this helpful?