telegram

package
v0.0.0-...-0133d04 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

type Bot struct {
	*telebot.Bot
	// contains filtered or unexported fields
}

Bot acts as Telegram Bot.

func NewBot

func NewBot(webhookURL, token string, ownerID int64, bookmarker service.CreateBookmark) (*Bot, error)

NewBot creates an instance of Telegram Bot.

func (*Bot) Run

func (b *Bot) Run() *telebot.Webhook

Run runs Telegram Bot.

Jump to

Keyboard shortcuts

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