Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTelegramBotRepo ¶
func NewTelegramBotRepo(cli transport.HttpClient, cfg *config.TelegramCfg) domain.TelegramBotRepo
Types ¶
type TemplateType ¶
type TemplateType string
var ( PlainText TemplateType = "PlainText" HTML TemplateType = "HTML" MarkdownV2 TemplateType = "MarkdownV2" )
func (TemplateType) String ¶
func (t TemplateType) String() string
type TextTemplate ¶
type TextTemplate string
func (TextTemplate) Format ¶
func (t TextTemplate) Format(args ...interface{}) string
func (TextTemplate) String ¶
func (t TextTemplate) String() string
func (TextTemplate) Type ¶
func (t TextTemplate) Type() TemplateType
Click to show internal directories.
Click to hide internal directories.