mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-27 14:13:05 +00:00
updates in Username
This commit is contained in:
1 parent
c13a0d3193
commit
1474a07b9e
8 files changed
+48
-19
No files matched your search
+1
-1
@@ -12,5 +12,5 @@ import kotlin.String
|
||||
public suspend
|
||||
fun TelegramBot.setBusinessAccountUsername(businessConnectionId: BusinessConnectionId,
|
||||
username: String): Boolean = setBusinessAccountUsername(
|
||||
businessConnectionId = businessConnectionId, username = with(username) { Username(username) }
|
||||
businessConnectionId = businessConnectionId, username = with(username) { Username.prepare(username) }
|
||||
)
|
||||
Reference in new issue
Block a user