config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Debug = false
	Path  = ""
)

Functions

This section is empty.

Types

type Telegram

type Telegram struct{}

Telegram 定义了 Telegram 初始化所需要的配置

func (*Telegram) PollInterval

func (p *Telegram) PollInterval() uint32

PollInterval 为拉取 Telegram 消息的间隔

func (*Telegram) Registry

func (p *Telegram) Registry() string

Registry 为 Telegram Bot 的通讯服务器

func (*Telegram) Token

func (p *Telegram) Token() string

Token 为机器人令牌

Jump to

Keyboard shortcuts

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