ringcentral

package
v1.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package ringcentral is the ringcentral notification package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotifyConfig

type NotifyConfig struct {
	base.DefaultNotify `yaml:",inline"`
	WebhookURL         string `yaml:"webhook" json:"webhook" jsonschema:"required,format=uri,title=Webhook URL,description=The RingCentral webhook URL"`
}

NotifyConfig is the ringcentral notification configuration

func (*NotifyConfig) Config

func (c *NotifyConfig) Config(gConf global.NotifySettings) error

Config configures the ringcentral notification

func (*NotifyConfig) SendRingCentral

func (c *NotifyConfig) SendRingCentral(title, msg string) error

SendRingCentral will compose a message with title and msg, then post it to the 'Incoming Webhook' URL configured in RingCentral App.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL