Gas55
Gas55

Reputation: 1

Mattermost metadata priority

I have some troubles with setting priority on my BOT message

Here is my payload

{"channel": "@$user", "text": "Hi! Your Reminder is: $text", "metadata": {"priority":{"priority": "Urgent"}}}

But message is still with no labels of priority...

sending it with web-hook into direct message (I guess payload structure on hooks the same as API)

Any advices ?

Upvotes: 0

Views: 199

Answers (1)

Jeroen Pinoy
Jeroen Pinoy

Reputation: 1

Accepted values are urgent and important, all lowercase, so:

{"priority":{"priority": "urgent"}}}

Upvotes: 0

Related Questions