mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-10-25 14:07:28 +00:00
String#asUsername -> String#toUsername
This commit is contained in:
1 parent
ae7365e9e9
commit
4e276846b4
2 files changed
+2
-1
No files matched your search
@@ -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