sender

package
v0.0.0-...-3723a19 Latest Latest
Warning

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

Go to latest
Published: May 19, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ac *appcontext.Context)

New is a appcontext initialization function

Types

type Sender

type Sender struct{}

Sender is a function-handling struct for sender

func (*Sender) Init

func (s *Sender) Init()

Init is an initialization function for sender

func (*Sender) SendMarkdownAnswer

func (s *Sender) SendMarkdownAnswer(update *tgbotapi.Update, message string)

SendMarkdownAnswer sends markdown-powered message as answer

func (*Sender) SendMarkdownMessageToChatID

func (s *Sender) SendMarkdownMessageToChatID(chatID int64, message string)

SendMarkdownMessageToChatID sends markdown-powered message to specified chat

func (*Sender) SendMarkdownReply

func (s *Sender) SendMarkdownReply(update *tgbotapi.Update, message string, messageID int)

SendMarkdownReply sends markdown-powered message as reply

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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