telegram

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(token, chatID, message string) error

Send posts a message to a Telegram chat via the Bot API.

func SendAudio added in v0.2.6

func SendAudio(token, chatID, wavPath, caption string) error

SendAudio uploads a WAV file to a Telegram chat via the Bot API. The caption is sent as text alongside the audio file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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