scene

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Use

func Use(bot *api.Bot, thisUpdate update.Update, scenes Scenes)

Types

type AppNotificationFunc

type AppNotificationFunc func(*api.Bot, update.AppNotification)

type BlockUserFunc

type BlockUserFunc func(*api.Bot, update.BlockUser)

type BoardCommentFunc

type BoardCommentFunc func(*api.Bot, update.BoardComment)

type CallbackFunc

type CallbackFunc func(*api.Bot, update.Callback)

type CancelDonateFunc

type CancelDonateFunc func(*api.Bot, update.ExpiredDonate)

type ChangeDonatePriceFunc

type ChangeDonatePriceFunc func(*api.Bot, update.ChangeDonatePrice)

type ChangeGroupPhotoFunc

type ChangeGroupPhotoFunc func(*api.Bot, update.ChangeGroupPhoto)

type ControlGroupFunc

type ControlGroupFunc func(*api.Bot, update.ControlGroup)

type DeleteBoardCommentFunc

type DeleteBoardCommentFunc func(*api.Bot, update.DeleteBoardComment)

type DeleteMarketCommentFunc

type DeleteMarketCommentFunc func(*api.Bot, update.DeleteMarketComment)

type DeletePhotoCommentFunc

type DeletePhotoCommentFunc PhotoCommentFunc

type DeletePostCommentFunc

type DeletePostCommentFunc func(*api.Bot, update.DeletePostComment)

type DeleteVideoCommentFunc

type DeleteVideoCommentFunc func(*api.Bot, update.DeleteVideoComment)

type DisableMessageFunc

type DisableMessageFunc func(*api.Bot, update.DisableMessage)

type DonateFunc

type DonateFunc func(*api.Bot, update.ProlongedDonate)

type EditBoardCommentFunc

type EditBoardCommentFunc BoardCommentFunc

type EditMarketCommentFunc

type EditMarketCommentFunc MarketCommentFunc

type EditMessageFunc

type EditMessageFunc func(*api.Bot, update.Message)

type EditOrderMarketFunc

type EditOrderMarketFunc OrderMarketFunc

type EditOwnersFunc

type EditOwnersFunc func(*api.Bot, update.EditOwners)

type EditPhotoCommentFunc

type EditPhotoCommentFunc PhotoCommentFunc

type EditPostCommentFunc

type EditPostCommentFunc PostCommentFunc

type EditVideoCommentFunc

type EditVideoCommentFunc VideoCommentFunc

type EnableMessageFunc

type EnableMessageFunc func(*api.Bot, update.EnableMessage)

type ExpiredDonateFunc

type ExpiredDonateFunc func(*api.Bot, update.ExpiredDonate)

type Func

type Func func(*api.Bot, update.Update, Scenes)

type JoinGroupFunc

type JoinGroupFunc func(*api.Bot, update.JoinGroup)

type LeaveGroupFunc

type LeaveGroupFunc func(*api.Bot, update.LeaveGroup)

type LikeFunc

type LikeFunc func(*api.Bot, update.Like)

type MarketCommentFunc

type MarketCommentFunc func(*api.Bot, update.MarketComment)

type MessageFunc

type MessageFunc func(*api.Bot, update.Message)

type NewAudioFunc

type NewAudioFunc func(*api.Bot, update.Audio)

type NewVideoFunc

type NewVideoFunc func(*api.Bot, update.Video)

type OrderMarketFunc

type OrderMarketFunc func(*api.Bot, update.OrderMarket)

type PhotoCommentFunc

type PhotoCommentFunc func(*api.Bot, update.PhotoComment)

type PhotoFunc

type PhotoFunc func(*api.Bot, update.Photo)

type PostCommentFunc

type PostCommentFunc func(*api.Bot, update.PostComment)

type PostFunc

type PostFunc func(*api.Bot, update.Post)

type ProlongedDonateFunc

type ProlongedDonateFunc func(*api.Bot, update.ProlongedDonate)

type ReplyMessageFunc

type ReplyMessageFunc func(*api.Bot, update.Message)

type RepostFunc

type RepostFunc PostFunc

type RestoreBoardCommentFunc

type RestoreBoardCommentFunc BoardCommentFunc

type RestoreMarketCommentFunc

type RestoreMarketCommentFunc MarketCommentFunc

type RestorePhotoCommentFunc

type RestorePhotoCommentFunc PhotoCommentFunc

type RestorePostCommentFunc

type RestorePostCommentFunc PostCommentFunc

type RestoreVideoCommentFunc

type RestoreVideoCommentFunc VideoCommentFunc

type Scenes

type Scenes struct {
	MessageFunc        MessageFunc
	ReplyMessageFunc   ReplyMessageFunc
	EditMessageFunc    EditMessageFunc
	EnableMessageFunc  EnableMessageFunc
	DisableMessageFunc DisableMessageFunc
	TypingMessageFunc  TypingMessageFunc
	CallbackFunc       CallbackFunc

	PhotoFunc               PhotoFunc
	PhotoCommentFunc        PhotoCommentFunc
	EditPhotoCommentFunc    EditPhotoCommentFunc
	RestorePhotoCommentFunc RestorePhotoCommentFunc
	DeletePhotoCommentFunc  DeletePhotoCommentFunc

	NewAudioFunc NewAudioFunc

	NewVideoFunc            NewVideoFunc
	VideoCommentFunc        VideoCommentFunc
	EditVideoCommentFunc    EditVideoCommentFunc
	RestoreVideoCommentFunc RestoreVideoCommentFunc
	DeleteVideoCommentFunc  DeleteVideoCommentFunc

	PostFunc               PostFunc
	RepostFunc             RepostFunc
	PostCommentFunc        PostCommentFunc
	EditPostCommentFunc    EditPostCommentFunc
	RestorePostCommentFunc RestorePostCommentFunc
	DeletePostCommentFunc  DeletePostCommentFunc

	LikeFunc   LikeFunc
	UnlikeFunc UnlikeFunc

	BoardCommentFunc        BoardCommentFunc
	EditBoardCommentFunc    EditBoardCommentFunc
	RestoreBoardCommentFunc RestoreBoardCommentFunc
	DeleteBoardCommentFunc  DeleteBoardCommentFunc

	MarketCommentFunc        MarketCommentFunc
	EditMarketCommentFunc    EditMarketCommentFunc
	RestoreMarketCommentFunc RestoreMarketCommentFunc
	DeleteMarketCommentFunc  DeleteMarketCommentFunc

	OrderMarketFunc     OrderMarketFunc
	EditOrderMarketFunc EditOrderMarketFunc

	JoinGroupFunc  JoinGroupFunc
	LeaveGroupFunc LeaveGroupFunc

	BlockUserFunc   BlockUserFunc
	UnblockUserFunc UnblockUserFunc

	VoteFunc             VoteFunc
	EditOwnersFunc       EditOwnersFunc
	ControlGroupFunc     ControlGroupFunc
	ChangeGroupPhotoFunc ChangeGroupPhotoFunc
	VKPayTransactionFunc VKPayTransactionFunc
	AppNotificationFunc  AppNotificationFunc

	DonateFunc             DonateFunc
	ProlongedDonateFunc    ProlongedDonateFunc
	ExpiredDonateFunc      ExpiredDonateFunc
	CancelDonateFunc       CancelDonateFunc
	ChangeDonatePriceFunc  ChangeDonatePriceFunc
	WithdrawMoneyFunc      WithdrawMoneyFunc
	WithdrawMoneyErrorFunc WithdrawMoneyErrorFunc
}

func AppNotification

func AppNotification(appNotifyFunc AppNotificationFunc) *Scenes

func ApplicationNotification

func ApplicationNotification(appNotifyFunc AppNotificationFunc) *Scenes

func Audio

func Audio(audFunc NewAudioFunc) *Scenes

func BlockUser

func BlockUser(blockUserFunc BlockUserFunc) *Scenes

func BoardComment

func BoardComment(boardComFunc BoardCommentFunc) *Scenes

func Callback

func Callback(cbFunc CallbackFunc) *Scenes

func CancelDonate

func CancelDonate(cancDonFunc CancelDonateFunc) *Scenes

func ChangeDonatePrice

func ChangeDonatePrice(chDonPriceFunc ChangeDonatePriceFunc) *Scenes

func ChangeGroupPhoto

func ChangeGroupPhoto(chGroupPhotoFunc ChangeGroupPhotoFunc) *Scenes

func ControlGroup

func ControlGroup(ctrlGroupFunc ControlGroupFunc) *Scenes

func DeleteBoardComment

func DeleteBoardComment(delBoardComFunc DeleteBoardCommentFunc) *Scenes

func DeleteMarketComment

func DeleteMarketComment(delMarketComFunc DeleteMarketCommentFunc) *Scenes

func DeletePhotoComment

func DeletePhotoComment(delPhotoComFunc DeletePhotoCommentFunc) *Scenes

func DeletePostComment

func DeletePostComment(delPostComFunc DeletePostCommentFunc) *Scenes

func DeleteVideoComment

func DeleteVideoComment(delVidComFunc DeleteVideoCommentFunc) *Scenes

func DisableMessage

func DisableMessage(disMsgFunc DisableMessageFunc) *Scenes
func Donate(donFunc DonateFunc) *Scenes

func EditBoardComment

func EditBoardComment(edBoardComFunc EditBoardCommentFunc) *Scenes

func EditMarketComment

func EditMarketComment(edMarketComFunc EditMarketCommentFunc) *Scenes

func EditMessage

func EditMessage(edMsgFunc EditMessageFunc) *Scenes

func EditOrder

func EditOrder(edOrderMarketFunc EditOrderMarketFunc) *Scenes

func EditOrderMarket

func EditOrderMarket(edOrderMarketFunc EditOrderMarketFunc) *Scenes

func EditOwners

func EditOwners(edPwnFunc EditOwnersFunc) *Scenes

func EditPhotoComment

func EditPhotoComment(edPhotoFunc EditPhotoCommentFunc) *Scenes

func EditPostComment

func EditPostComment(edPostComFunc EditPostCommentFunc) *Scenes

func EditVideoComment

func EditVideoComment(edVidComFunc EditVideoCommentFunc) *Scenes

func EnableMessage

func EnableMessage(enbMsgFunc EnableMessageFunc) *Scenes

func ExpiredDonate

func ExpiredDonate(expDonFunc ExpiredDonateFunc) *Scenes

func JoinGroup

func JoinGroup(jGroupFunc JoinGroupFunc) *Scenes

func LeaveGroup

func LeaveGroup(lGroupFunc LeaveGroupFunc) *Scenes

func Like

func Like(likeFunc LikeFunc) *Scenes

func MarketComment

func MarketComment(marketComFunc MarketCommentFunc) *Scenes

func Message

func Message(msgFunc MessageFunc) *Scenes

func New

func New() *Scenes

func NewMessage

func NewMessage(msgFunc MessageFunc) *Scenes

func OrderMarket

func OrderMarket(orderMarketFunc OrderMarketFunc) *Scenes

func Photo

func Photo(photoFunc PhotoFunc) *Scenes

func PhotoComment

func PhotoComment(photoComFunc PhotoCommentFunc) *Scenes

func Post

func Post(postFunc PostFunc) *Scenes

func PostComment

func PostComment(postComFunc PostCommentFunc) *Scenes

func ProlongedDonate

func ProlongedDonate(proDonFunc ProlongedDonateFunc) *Scenes

func ReplyMessage

func ReplyMessage(replMsgFunc ReplyMessageFunc) *Scenes

func Repost

func Repost(postFunc RepostFunc) *Scenes

func RestoreBoardComment

func RestoreBoardComment(restBoardComFunc RestoreBoardCommentFunc) *Scenes

func RestoreMarketComment

func RestoreMarketComment(restMarketComFunc RestoreMarketCommentFunc) *Scenes

func RestorePhotoComment

func RestorePhotoComment(restPhotoComFunc RestorePhotoCommentFunc) *Scenes

func RestorePostComment

func RestorePostComment(restPostFunc RestorePostCommentFunc) *Scenes

func RestoreVideoComment

func RestoreVideoComment(restVidComFunc RestoreVideoCommentFunc) *Scenes

func TypingMessage

func TypingMessage(typFunc TypingMessageFunc) *Scenes

func UnblockUser

func UnblockUser(unblockUserFunc UnblockUserFunc) *Scenes

func Unlike

func Unlike(unlikeFunc UnlikeFunc) *Scenes

func VKPayTransaction

func VKPayTransaction(vkPayTransFunc VKPayTransactionFunc) *Scenes

func Video

func Video(vidFunc NewVideoFunc) *Scenes

func VideoComment

func VideoComment(vidComFunc VideoCommentFunc) *Scenes

func Vote

func Vote(voteFunc VoteFunc) *Scenes

func WithdrawMoney

func WithdrawMoney(withdrawMoneyFunc WithdrawMoneyFunc) *Scenes

func WithdrawMoneyError

func WithdrawMoneyError(withdrawMoneyErrFunc WithdrawMoneyErrorFunc) *Scenes

func (*Scenes) ApplicationNotification

func (scenes *Scenes) ApplicationNotification(appNotifyFunc AppNotificationFunc) *Scenes

func (*Scenes) Audio

func (scenes *Scenes) Audio(audFunc NewAudioFunc) *Scenes

func (*Scenes) BlockUser

func (scenes *Scenes) BlockUser(blockUserFunc BlockUserFunc) *Scenes

func (*Scenes) BoardComment

func (scenes *Scenes) BoardComment(boardComFunc BoardCommentFunc) *Scenes

func (*Scenes) Callback

func (scenes *Scenes) Callback(cbFunc CallbackFunc) *Scenes

func (*Scenes) CancelDonate

func (scenes *Scenes) CancelDonate(cancDonFunc CancelDonateFunc) *Scenes

func (*Scenes) ChangeDonatePrice

func (scenes *Scenes) ChangeDonatePrice(chDonPriceFunc ChangeDonatePriceFunc) *Scenes

func (*Scenes) ChangeGroupPhoto

func (scenes *Scenes) ChangeGroupPhoto(chGroupPhotoFunc ChangeGroupPhotoFunc) *Scenes

func (*Scenes) ControlGroup

func (scenes *Scenes) ControlGroup(ctrlGroupFunc ControlGroupFunc) *Scenes

func (*Scenes) DeleteBoardComment

func (scenes *Scenes) DeleteBoardComment(delBoardComFunc DeleteBoardCommentFunc) *Scenes

func (*Scenes) DeleteMarketComment

func (scenes *Scenes) DeleteMarketComment(delMarketComFunc DeleteMarketCommentFunc) *Scenes

func (*Scenes) DeletePhotoComment

func (scenes *Scenes) DeletePhotoComment(delPhotoComFunc DeletePhotoCommentFunc) *Scenes

func (*Scenes) DeletePostComment

func (scenes *Scenes) DeletePostComment(delPostComFunc DeletePostCommentFunc) *Scenes

func (*Scenes) DeleteVideoComment

func (scenes *Scenes) DeleteVideoComment(delVidComFunc DeleteVideoCommentFunc) *Scenes

func (*Scenes) DisableMessage

func (scenes *Scenes) DisableMessage(disMsgFunc DisableMessageFunc) *Scenes

func (*Scenes) Donate

func (scenes *Scenes) Donate(donFunc DonateFunc) *Scenes

func (*Scenes) EditBoardComment

func (scenes *Scenes) EditBoardComment(edBoardComFunc EditBoardCommentFunc) *Scenes

func (*Scenes) EditMarketComment

func (scenes *Scenes) EditMarketComment(edMarketComFunc EditMarketCommentFunc) *Scenes

func (*Scenes) EditMessage

func (scenes *Scenes) EditMessage(edMsgFunc EditMessageFunc) *Scenes

func (*Scenes) EditOrder

func (scenes *Scenes) EditOrder(edOrderMarketFunc EditOrderMarketFunc) *Scenes

func (*Scenes) EditOrderMarket

func (scenes *Scenes) EditOrderMarket(edOrderMarketFunc EditOrderMarketFunc) *Scenes

func (*Scenes) EditOwners

func (scenes *Scenes) EditOwners(edPwnFunc EditOwnersFunc) *Scenes

func (*Scenes) EditPhotoComment

func (scenes *Scenes) EditPhotoComment(edPhotoFunc EditPhotoCommentFunc) *Scenes

func (*Scenes) EditPostComment

func (scenes *Scenes) EditPostComment(editPostComment EditPostCommentFunc) *Scenes

func (*Scenes) EditVideoComment

func (scenes *Scenes) EditVideoComment(edVidComFunc EditVideoCommentFunc) *Scenes

func (*Scenes) EnableMessage

func (scenes *Scenes) EnableMessage(enbMsgFunc EnableMessageFunc) *Scenes

func (*Scenes) ExpiredDonate

func (scenes *Scenes) ExpiredDonate(expDonFunc ExpiredDonateFunc) *Scenes

func (*Scenes) JoinGroup

func (scenes *Scenes) JoinGroup(jGroupFunc JoinGroupFunc) *Scenes

func (*Scenes) LeaveGroup

func (scenes *Scenes) LeaveGroup(lGroupFunc LeaveGroupFunc) *Scenes

func (*Scenes) Like

func (scenes *Scenes) Like(likeFunc LikeFunc) *Scenes

func (*Scenes) MarketComment

func (scenes *Scenes) MarketComment(marketComFunc MarketCommentFunc) *Scenes

func (*Scenes) Message

func (scenes *Scenes) Message(msgFunc MessageFunc) *Scenes

func (*Scenes) NewMessage

func (scenes *Scenes) NewMessage(msgFunc MessageFunc) *Scenes

func (*Scenes) OrderMarket

func (scenes *Scenes) OrderMarket(orderMarketFunc OrderMarketFunc) *Scenes

func (*Scenes) Photo

func (scenes *Scenes) Photo(photoFunc PhotoFunc) *Scenes

func (*Scenes) PhotoComment

func (scenes *Scenes) PhotoComment(photoComFunc PhotoCommentFunc) *Scenes

func (*Scenes) Post

func (scenes *Scenes) Post(postFunc PostFunc) *Scenes

func (*Scenes) PostComment

func (scenes *Scenes) PostComment(postComFunc PostCommentFunc) *Scenes

func (*Scenes) ProlongedDonate

func (scenes *Scenes) ProlongedDonate(proDonFunc ProlongedDonateFunc) *Scenes

func (*Scenes) ReplyMessage

func (scenes *Scenes) ReplyMessage(replMsgFunc ReplyMessageFunc) *Scenes

func (*Scenes) Repost

func (scenes *Scenes) Repost(repost RepostFunc) *Scenes

func (*Scenes) RestoreBoardComment

func (scenes *Scenes) RestoreBoardComment(restBoardComFunc RestoreBoardCommentFunc) *Scenes

func (*Scenes) RestoreMarketComment

func (scenes *Scenes) RestoreMarketComment(restMarketComFunc RestoreMarketCommentFunc) *Scenes

func (*Scenes) RestorePhotoComment

func (scenes *Scenes) RestorePhotoComment(restPhotoComFunc RestorePhotoCommentFunc) *Scenes

func (*Scenes) RestorePostComment

func (scenes *Scenes) RestorePostComment(restPostFunc RestorePostCommentFunc) *Scenes

func (*Scenes) RestoreVideoComment

func (scenes *Scenes) RestoreVideoComment(restVidComFunc RestoreVideoCommentFunc) *Scenes

func (*Scenes) TypingMessage

func (scenes *Scenes) TypingMessage(typFunc TypingMessageFunc) *Scenes

func (*Scenes) UnblockUser

func (scenes *Scenes) UnblockUser(unblockUserFunc UnblockUserFunc) *Scenes

func (*Scenes) Unlike

func (scenes *Scenes) Unlike(unlikeFunc UnlikeFunc) *Scenes

func (*Scenes) VKPayTransaction

func (scenes *Scenes) VKPayTransaction(vkPayTransFunc VKPayTransactionFunc) *Scenes

func (*Scenes) Video

func (scenes *Scenes) Video(vidFunc NewVideoFunc) *Scenes

func (*Scenes) VideoComment

func (scenes *Scenes) VideoComment(vidComFunc VideoCommentFunc) *Scenes

func (*Scenes) Vote

func (scenes *Scenes) Vote(voteFunc VoteFunc) *Scenes

func (*Scenes) WithdrawMoney

func (scenes *Scenes) WithdrawMoney(withdrawMoneyFunc WithdrawMoneyFunc) *Scenes

func (*Scenes) WithdrawMoneyError

func (scenes *Scenes) WithdrawMoneyError(withdrawMoneyErrFunc WithdrawMoneyErrorFunc) *Scenes

type TypingMessageFunc

type TypingMessageFunc func(*api.Bot, update.Typing)

type UnblockUserFunc

type UnblockUserFunc func(*api.Bot, update.UnblockUser)

type UnlikeFunc

type UnlikeFunc func(*api.Bot, update.Unlike)

type VKPayTransactionFunc

type VKPayTransactionFunc func(*api.Bot, update.VKPayTransaction)

type VideoCommentFunc

type VideoCommentFunc func(*api.Bot, update.VideoComment)

type VoteFunc

type VoteFunc func(*api.Bot, update.Vote)

type WithdrawMoneyErrorFunc

type WithdrawMoneyErrorFunc func(*api.Bot, update.WithdrawMoneyError)

type WithdrawMoneyFunc

type WithdrawMoneyFunc func(*api.Bot, update.WithdrawMoney)

Jump to

Keyboard shortcuts

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