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,
|
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>>
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user