1
0
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:
InsanusMokrassar 2024-07-15 16:29:16 +06:00
parent 1c587abcdc
commit 53ae56e887

View File

@ -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>>
)
}