add webhook creation utility

This commit is contained in:
Cadence Ember
2023-06-30 15:15:34 +12:00
parent cc1210729f
commit 5bd1bc9a5b
4 changed files with 79 additions and 0 deletions

5
types.d.ts vendored
View File

@@ -9,6 +9,11 @@ export type AppServiceRegistrationConfig = {
rate_limited: boolean
}
export type WebhookCreds = {
id: string
token: string
}
namespace Event {
export type BaseStateEvent = {
type: string