telegramChat

package
v0.0.0-...-74e4be9 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TelegramChat

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

func MakeTelegramChat

func MakeTelegramChat(apiToken string) (bot *TelegramChat, outErr error)

func (*TelegramChat) GetBot

func (telegramChat *TelegramChat) GetBot() *tgbotapi.BotAPI

func (*TelegramChat) GetBotUsername

func (telegramChat *TelegramChat) GetBotUsername() string

func (*TelegramChat) SendDialog

func (telegramChat *TelegramChat) SendDialog(chatId int64, dialog *dialog.Dialog)

func (*TelegramChat) SendMessage

func (telegramChat *TelegramChat) SendMessage(chatId int64, message string)

func (*TelegramChat) SetDebugModeEnabled

func (telegramChat *TelegramChat) SetDebugModeEnabled(isEnabled bool)

Jump to

Keyboard shortcuts

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