1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-07 00:59:57 +00:00

remove class casts from Location Content

This commit is contained in:
2024-07-15 16:29:16 +06:00
parent 1c587abcdc
commit 53ae56e887

View File

@@ -119,7 +119,7 @@ data class LiveLocationContent(
effectId = effectId, effectId = effectId,
replyParameters = replyParameters, replyParameters = replyParameters,
replyMarkup = replyMarkup replyMarkup = replyMarkup
) as SendMessageRequest<ContentMessage<LiveLocationContent>> )
} }
/** /**
@@ -150,5 +150,5 @@ data class StaticLocationContent(
effectId = effectId, effectId = effectId,
replyParameters = replyParameters, replyParameters = replyParameters,
replyMarkup = replyMarkup replyMarkup = replyMarkup
) as SendMessageRequest<ContentMessage<StaticLocationContent>> )
} }