mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-12-27 19:17:12 +00:00
remove class casts from Location Content
This commit is contained in:
parent
1c587abcdc
commit
53ae56e887
@ -119,7 +119,7 @@ data class LiveLocationContent(
|
||||
effectId = effectId,
|
||||
replyParameters = replyParameters,
|
||||
replyMarkup = replyMarkup
|
||||
) as SendMessageRequest<ContentMessage<LiveLocationContent>>
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
@ -150,5 +150,5 @@ data class StaticLocationContent(
|
||||
effectId = effectId,
|
||||
replyParameters = replyParameters,
|
||||
replyMarkup = replyMarkup
|
||||
) as SendMessageRequest<ContentMessage<StaticLocationContent>>
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user