Documentation
¶
Index ¶
- func AddWarn(C *typesbot.SNBot, update tgbotapi.Update) int
- func BanUserFromCas(C *typesbot.SNBot, update tgbotapi.Update, user tgbotapi.User, cmd, arg string)
- func CasTest(C *typesbot.SNBot, update tgbotapi.Update, cmd, arg string)
- func CheckCasBan(id string) (bool, error)
- func CheckTime(C *typesbot.SNBot, update tgbotapi.Update, year int, month int, day int, ...)
- func ClearNameWithLinkFromUser(user tgbotapi.User) (name string)
- func GetLocTime(year, month, day, hour, minute, second int) int64
- func GetUserNameWithLink(name string, id int) string
- func IntInSlice(a int, list []int) bool
- func MarkParse(st string) string
- func MarkTest(C *typesbot.SNBot, update tgbotapi.Update, cmd, arg string)
- func ParseMSGDate(s string) (int, int, int, int, int, int)
- func ParseMessage(s string) string
- func Report(C *typesbot.SNBot, update tgbotapi.Update, cmd, arg string)
- func ResetWarn(C *typesbot.SNBot, update tgbotapi.Update)
- func ReturnChatID(C *typesbot.SNBot, update tgbotapi.Update, command, arg string)
- func ScreenName(s string) string
- func SendReplyCallbackUpdate(C *typesbot.SNBot, update tgbotapi.Update, response string)
- func UserIsAdmin(id int, members []tgbotapi.ChatMember) bool
- func WelcomeReplace(s, user string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BanUserFromCas ¶
inline клавиатура для исключения пользователя
func CheckCasBan ¶
func ClearNameWithLinkFromUser ¶
Принимает тип User и возвращает string с ссылкой
func GetLocTime ¶
func GetUserNameWithLink ¶
func IntInSlice ¶
func ParseMessage ¶
func ReturnChatID ¶
func ScreenName ¶
func SendReplyCallbackUpdate ¶
func UserIsAdmin ¶
func UserIsAdmin(id int, members []tgbotapi.ChatMember) bool
func WelcomeReplace ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.