Archived
1
This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
i2_bot/lib/pinner/pinnerinterface/pinnerinterface.go

17 lines
397 B
Go
Raw Permalink Normal View History

2017-11-14 03:44:21 +04:00
// i2_bot Instinct PokememBro Bot
// Copyright (c) 2017 Vladimir "fat0troll" Hodakov
package pinnerinterface
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
)
// PinnerInterface implements Pinner for importing via appcontext
2017-11-14 03:44:21 +04:00
type PinnerInterface interface {
Init()
2017-11-26 08:31:56 +04:00
PinMessageToSomeChats(update *tgbotapi.Update) string
2017-11-14 03:44:21 +04:00
PinMessageToAllChats(update *tgbotapi.Update) string
}