InteractionService.PromptNotification
Method
type InteractionService interface { // ... omitted for brevity PromptNotification( title string, message string, options ...*PromptNotificationOptions, ) (*BoolInteractionResult, error)}Signature
method
PromptNotification Prompts the user with a notification.
PromptNotification( title string, message string, options ...*PromptNotificationOptions,) (*BoolInteractionResult, error)Parameters
titlestringmessagestringoptions...*PromptNotificationOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*PromptNotificationOptions argument.
Options*InteractionNotificationOptions CancellationToken *CancellationToken Returns
(*BoolInteractionResult, error) Returns (*BoolInteractionResult, error).
Defined on
This method is defined on the following type: