Documentation ¶
Index ¶
- Variables
- func ArtworkPreview(ctx context.Context, bot *telego.Bot, query telego.CallbackQuery)
- func BatchPostArtwork(ctx context.Context, bot *telego.Bot, message telego.Message)
- func CalculatePicture(ctx context.Context, bot *telego.Bot, message telego.Message)
- func CheckPermissionForQuery(ctx context.Context, query telego.CallbackQuery, ...) bool
- func CheckPermissionInGroup(ctx context.Context, message telego.Message, permissions ...types.Permission) bool
- func DeleteArtwork(ctx context.Context, bot *telego.Bot, message telego.Message)
- func DeleteArtworkCallbackQuery(ctx context.Context, bot *telego.Bot, query telego.CallbackQuery)
- func EditArtworkR18(ctx context.Context, bot *telego.Bot, query telego.CallbackQuery)
- func EditArtworkTitle(ctx context.Context, bot *telego.Bot, message telego.Message)
- func FixTwitterArtists(ctx context.Context, bot *telego.Bot, message telego.Message)
- func GetArtworkInfo(ctx context.Context, bot *telego.Bot, message telego.Message)
- func GetPictureFile(ctx context.Context, bot *telego.Bot, message telego.Message)
- func GetStats(ctx context.Context, bot *telego.Bot, message telego.Message)
- func Help(ctx context.Context, bot *telego.Bot, message telego.Message)
- func Init(channelChatID telego.ChatID, botUsername string)
- func InlineQuery(ctx context.Context, bot *telego.Bot, query telego.InlineQuery)
- func PostArtworkCallbackQuery(ctx context.Context, bot *telego.Bot, query telego.CallbackQuery)
- func PostArtworkCommand(ctx context.Context, bot *telego.Bot, message telego.Message)
- func ProcessPicturesHashAndSize(ctx context.Context, bot *telego.Bot, message telego.Message)
- func ProcessPicturesStorage(ctx context.Context, bot *telego.Bot, message telego.Message)
- func RandomPicture(ctx context.Context, bot *telego.Bot, message telego.Message)
- func RegisterHandlers(hg *telegohandler.HandlerGroup)
- func SearchPicture(ctx context.Context, bot *telego.Bot, message telego.Message)
- func SearchPictureCallbackQuery(ctx context.Context, bot *telego.Bot, query telego.CallbackQuery)
- func SetAdmin(ctx context.Context, bot *telego.Bot, message telego.Message)
- func SetArtworkTags(ctx context.Context, bot *telego.Bot, message telego.Message)
- func Start(ctx context.Context, bot *telego.Bot, message telego.Message)
- func ToggleArtworkR18(ctx context.Context, bot *telego.Bot, message telego.Message)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ChannelChatID telego.ChatID BotUsername string IsChannelAvailable bool )
Functions ¶
func ArtworkPreview ¶
func BatchPostArtwork ¶
func CalculatePicture ¶
func CheckPermissionForQuery ¶
func CheckPermissionForQuery(ctx context.Context, query telego.CallbackQuery, permissions ...types.Permission) bool
func CheckPermissionInGroup ¶
func DeleteArtwork ¶
func EditArtworkR18 ¶
func EditArtworkTitle ¶
func FixTwitterArtists ¶
func GetArtworkInfo ¶
func GetPictureFile ¶
func InlineQuery ¶
func PostArtworkCommand ¶
func ProcessPicturesStorage ¶
func RandomPicture ¶
func RegisterHandlers ¶
func RegisterHandlers(hg *telegohandler.HandlerGroup)
func SearchPicture ¶
func SetArtworkTags ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.