Module "api/context/addressChannels"
Type aliases
AddressChannels
Address
Channels: (msg: string | SlackMessage | SlackFileMessage, opts?: MessageOptions) => Promise<void>
Type declaration
-
- (msg: string | SlackMessage | SlackFileMessage, opts?: MessageOptions): Promise<void>
-
Parameters
-
msg: string | SlackMessage | SlackFileMessage
-
Optional opts: MessageOptions
Functions
addressDestinations
- addressDestinations(ctx: HandlerContext, ...destinations: Destination[]): AddressChannels
-
Parameters
-
ctx: HandlerContext
-
Rest ...destinations: Destination[]
messageDestinationsFor
- messageDestinationsFor(hasChannels: HasChannels, ctx?: HandlerContext): Destination[]
-
Parameters
-
-
Optional ctx: HandlerContext
Returns Destination[]
Allows us to address channels for a particular repo or any GraphQL type with channels