1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-07 00:59:57 +00:00

add a lot of things in web apps

This commit is contained in:
2024-12-05 09:41:31 +06:00
parent 4ac5e405ac
commit 1c6359f041
4 changed files with 43 additions and 3 deletions

View File

@@ -40,6 +40,12 @@ value class GiftId(
val string: String
)
@Serializable
@JvmInline
value class PreparedMessageId(
val string: String
)
val usernameRegex = Regex("@[\\w\\d_]+")
val degreesLimit = 1 .. 360