subscriptions

package
v0.0.0-...-f8b3260 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const CmdPageNext = "subs_next"
View Source
const CmdPageNextFollowing = "following_next"
View Source
const CmdStart = "sub_start"
View Source
const CmdStop = "sub_stop"
View Source
const MsgFmtChatLinked = "Following the interest %s in this chat. " +
	"New results will appear here. " +
	"To manage own interests use the <a href=\"https://awakari.com/login.html\" target=\"blank\">app</a>."
View Source
const ReqSubCreate = "sub_create"

Variables

This section is empty.

Functions

func CreateBasicReplyHandlerFunc

func CreateBasicReplyHandlerFunc(
	svcInterests interests.Service,
	groupId string,
	svcReader reader.Service,
	urlCallbackBase string,
) service.ArgHandlerFunc

func CreateBasicRequest

func CreateBasicRequest(tgCtx telebot.Context) (err error)

func ListFollowing

func ListFollowing(svcInterests interests.Service, svcReader reader.Service, groupId, urlCallBackBase string) telebot.HandlerFunc

func ListOnGroupStartHandlerFunc

func ListOnGroupStartHandlerFunc(svcInterests interests.Service, svcReader reader.Service, groupId, urlCallBackBase string) telebot.HandlerFunc

func ListPublicHandlerFunc

func ListPublicHandlerFunc(svcInterests interests.Service, svcReader reader.Service, groupId, urlCallBackBase string) telebot.HandlerFunc

func PageNext

func PageNext(svcInterests interests.Service, svcReader reader.Service, groupId, urlCallBackBase string) service.ArgHandlerFunc

func PageNextFollowing

func PageNextFollowing(svcInterests interests.Service, svcReader reader.Service, groupId, urlCallBackBase string) service.ArgHandlerFunc

func Start

func Start(
	tgCtx telebot.Context,
	svcInterests interests.Service,
	svcReader reader.Service,
	urlCallbackBase string,
	subId string,
	groupId string,
) (err error)

func StartHandler

func StartHandler(
	svcInterests interests.Service,
	svcReader reader.Service,
	urlCallbackBase string,
	groupId string,
) service.ArgHandlerFunc

func Stop

func Stop(svcReader reader.Service, urlCallbackBase string) service.ArgHandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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