telegram

package
v0.0.0-...-e995cac Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessagePublisher

type MessagePublisher struct {
	// contains filtered or unexported fields
}

func NewMessagePublisher

func NewMessagePublisher(token string, chatID int) *MessagePublisher

func (MessagePublisher) Publish

func (e MessagePublisher) Publish(ctx context.Context, message string) error

Jump to

Keyboard shortcuts

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