mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-05 16:19:26 +00:00
String#asUsername -> String#toUsername
This commit is contained in:
@@ -32,7 +32,7 @@ data class Username(
|
||||
}
|
||||
}
|
||||
|
||||
fun String.asUsername(): Username = Username(this)
|
||||
fun String.toUsername(): Username = Username(this)
|
||||
|
||||
@Serializer(ChatIdentifier::class)
|
||||
internal class ChatIdentifierSerializer: KSerializer<ChatIdentifier> {
|
||||
|
Reference in New Issue
Block a user