teams

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 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, tm *Message) 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"`
}

Message teams message

Jump to

Keyboard shortcuts

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