teams

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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 int
}

Error teams api error

func (*Error) Error

func (e *Error) Error() string

Error return error string

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

Jump to

Keyboard shortcuts

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