Provides API endpoint related to messages
Summary
Functions
Read messages
Functions
@spec messages(body :: Gleanex.Client.MessagesRequest.t(), opts :: keyword()) :: {:ok, Gleanex.Client.MessagesResponse.t()} | {:error, Gleanex.Error.t()}
Read messages
Retrieves list of messages from messaging/chat datasources (e.g. Slack, Teams).
Options
locale: The client's preferred locale in rfc5646 format (e.g.en,ja,pt-BR). If omitted, theAccept-Languagewill be used. If not present or not supported, defaults to the closest match oren.
Request Body
Content Types: application/json
Includes request params such as the id for channel/message and direction.