Documentation ¶
Index ¶
- func CanBotDelete(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat, justCheck bool) bool
- func CanBotPin(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat, justCheck bool) bool
- func CanBotPromote(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat, justCheck bool) bool
- func CanBotRestrict(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat, justCheck bool) bool
- func CanUserChangeInfo(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat, userId int64, ...) bool
- func CanUserDelete(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat, userId int64, ...) bool
- func CanUserPin(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat, userId int64, ...) bool
- func CanUserPromote(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat, userId int64, ...) bool
- func CanUserRestrict(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat, userId int64, ...) bool
- func Caninvite(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat, msg *gotgbot.Message, ...) bool
- func CheckDisabledCmd(bot *gotgbot.Bot, msg *gotgbot.Message, cmd string) bool
- func GetChat(bot *gotgbot.Bot, chatId string) (*gotgbot.Chat, error)
- func IsBotAdmin(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat) bool
- func IsUserAdmin(b *gotgbot.Bot, chatID, userId int64) bool
- func IsUserBanProtected(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat, userId int64) bool
- func IsUserInChat(b *gotgbot.Bot, chat *gotgbot.Chat, userId int64) bool
- func RequireBotAdmin(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat, justCheck bool) bool
- func RequireGroup(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat, justCheck bool) bool
- func RequirePrivate(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat, justCheck bool) bool
- func RequireUserAdmin(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat, userId int64, ...) bool
- func RequireUserOwner(b *gotgbot.Bot, ctx *ext.Context, chat *gotgbot.Chat, userId int64, ...) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanBotDelete ¶
func CanBotPromote ¶
func CanBotRestrict ¶
func CanUserChangeInfo ¶
func CanUserDelete ¶
func CanUserPin ¶
func CanUserPromote ¶
func CanUserRestrict ¶
func CheckDisabledCmd ¶
func IsBotAdmin ¶
func IsUserAdmin ¶
func IsUserBanProtected ¶
func IsUserInChat ¶
func RequireBotAdmin ¶
func RequireGroup ¶
func RequirePrivate ¶
func RequireUserAdmin ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.