Documentation ¶ Index ¶ func Post(url string, timeout time.Duration, msg any) error type Error func (e *Error) Error() string func (e *Error) GetRetryAfter() time.Duration type Message Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Post ¶ func Post(url string, timeout time.Duration, msg any) error Post post teams message Types ¶ type Error ¶ type Error struct { Status string StatusCode int RetryAfter time.Duration } Error teams webhook error func (*Error) Error ¶ func (e *Error) Error() string Error return error string func (*Error) GetRetryAfter ¶ added in v1.2.13 func (e *Error) GetRetryAfter() time.Duration type Message ¶ type Message struct { Type string `json:"type,omitempty"` Title string `json:"title,omitempty"` Text string `json:"text,omitempty"` Attachments []any `json:"attachments,omitempty"` } Message teams message Source Files ¶ View all Source files teams.go Click to show internal directories. Click to hide internal directories.