mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
feat: edit existing messages for workflow run updates
This commit is contained in:
8 files changed
+187
-16
No files matched your search
@@ -12,4 +12,9 @@ export interface SendResult {
|
||||
export interface PlatformDriver {
|
||||
readonly id: string;
|
||||
send(message: NeutralMessage, target: RouteTarget, env: Env): Promise<SendResult>;
|
||||
/**
|
||||
* Edit an already-sent message in place (e.g. workflow run progress updates).
|
||||
* Must be implemented by drivers that support message updates.
|
||||
*/
|
||||
edit(message: NeutralMessage, target: RouteTarget, env: Env, messageId: string): Promise<SendResult>;
|
||||
}
|
||||
Reference in new issue
Block a user