We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49f7456 commit 7b0d45cCopy full SHA for 7b0d45c
src/github.ts
@@ -73,6 +73,9 @@ async function main() {
73
channel: channel,
74
text: "COSCUP 今天會議提醒:", // Add the requested prefix
75
attachments: eventAttachments,
76
+ priority: {
77
+ priority: 'important',
78
+ },
79
};
80
81
await mattermostClient.sendMessage(combinedMessage);
src/utils/mattermost.ts
@@ -6,6 +6,9 @@ export interface MattermostMessage {
6
attachments?: MattermostAttachment[]; // Add attachments property
7
username?: string; // Keep other potential fields optional
8
icon_url?: string;
9
+ priority?: {
10
+ priority: 'important' | 'urgent';
11
+ };
12
}
13
14
export class MattermostClient {
0 commit comments