handlers

package
v0.0.0-...-70e9ad0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleCommand

func HandleCommand(text string, chatid int64, bot *tgbotapi.BotAPI, tc *transmission.Client)

HandleCommand handles incoming bot commands

func HandleDocument

func HandleDocument(document tgbotapi.Document, chatid int64, bot *tgbotapi.BotAPI, tc *transmission.Client)

HandleDocument handles incoming files

func HandleText

func HandleText(text string, chatid int64, bot *tgbotapi.BotAPI, tc *transmission.Client)

HandleText manages incoming text messages

Types

This section is empty.

Jump to

Keyboard shortcuts

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