Skip to content

Commit

Permalink
chat id is coming back
Browse files Browse the repository at this point in the history
  • Loading branch information
morfeusys committed Nov 13, 2020
1 parent b03eaf9 commit 6ba39aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ val TelegramBotRequest.contact
get() = this as? TelegramContactRequest

internal val Message.clientId
get() = from?.id?.toString() ?: chat.id.toString()
get() = chat.id.toString()

interface TelegramBotRequest: BotRequest {
val message: Message
Expand Down

0 comments on commit 6ba39aa

Please sign in to comment.