mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-24 19:18:44 +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