Telegram

package
v0.0.0-...-78e7102 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TelegramClient

type TelegramClient struct {
	ApiKey               string
	Api                  *tgbotapi.BotAPI
	TelegramIDs          *map[string]int64
	TelegramMentions     *map[string]string
	DiscordMentions      *map[string]string
	DiscordClient        *dClient.DiscordClient
	WitClient            *wclient.WitClient
	TeleWitChan          chan string
	AwaitingCallbackData *map[string]interface{}
}

func SetUp

func SetUp(config *Config.Config, witai_client *wclient.WitClient) TelegramClient

func (*TelegramClient) Init

func (client *TelegramClient) Init()

func (*TelegramClient) StartListening

func (client *TelegramClient) StartListening()

Jump to

Keyboard shortcuts

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