Initial commit

This commit is contained in:
2026-05-20 16:13:58 +08:00
commit ceffbe382e
500 changed files with 157469 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
package tgbot
const MaxMessageSize = 4090
func DeleteSliceElem(slice []string, elem string) []string {
tmp := make([]string, 0, len(slice))
for _, v := range slice {
if v != elem {
tmp = append(tmp, v)
}
}
return tmp
}