tgdrv

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2020 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package tgdrv provides a driver that send telegram message

Index

Constants

View Source
const TGMarkdown = "TGMarkdown"

TGMarkdown is driver type of Markdown()

Variables

This section is empty.

Functions

func Markdown

func Markdown(token string, dest map[string]int64, cl *http.Client) (ret types.Driver, err error)

Markdown creates a driver that send markdown formatted message in telegram

The driver accepts string which is markdown formatted text.

dest maps endpoint to chat/channel/user ids.

Types

This section is empty.

Jump to

Keyboard shortcuts

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