Notifier
Notifier =
object
Defined in: types/channel-types/index.ts:218
Proactive, out-of-band delivery — the slice the cron layer depends on.
Methods
Section titled “Methods”notify()
Section titled “notify()”notify(
userId,text):Promise<{sessionKey:string; }>
Defined in: types/channel-types/index.ts:220
DMs userId (an opaque id the provider knows how to address). Returns the session key of the conversation the message landed in, so a reply continues that same conversation.
Parameters
Section titled “Parameters”userId
Section titled “userId”string
string
Returns
Section titled “Returns”Promise<{ sessionKey: string; }>