client

package
v0.0.0-...-6d44102 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(botToken string)

Types

type API

type API struct {
	Client *http.Client
	Url    string
}

func Get

func Get() *API

func (API) SendMessage

func (api API) SendMessage(data models.Output)

func (API) SetWebhook

func (api API) SetWebhook(data models.SetWebhook) error

Jump to

Keyboard shortcuts

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