gobot

package
v0.0.0-...-ded2988 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package gobot will be responsible for creation of client and router that will handle the incoming requests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config *config.Config) (*tgbotapi.BotAPI, error)

func Respond

func Respond(chat chat.Info, bot *tgbotapi.BotAPI, messageText string, configOptions ...func(*tgbotapi.MessageConfig)) error

Respond will send msg string to user with userid

func RespondToCallBack

func RespondToCallBack(chat chat.Info, bot *tgbotapi.BotAPI, messageText string, currentPage, totalPages int) (int, error)

RespondToCallBack will respond to callback query

func WithCustomParsing

func WithCustomParsing(mode string) func(*tgbotapi.MessageConfig)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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