Closed kukume closed 1 month ago
Not at the moment.
But there are plans to refactor message saving. Roughly I see it like this: Was:
interface MessageSource {
suspend fun save(chatId: Long, fromId: Long, fromBot: Boolean, messageId: Long, type: String, text: String?, fileIds: List<String>?)
}
will be:
interface MessageSource {
suspend fun save(message: Message, fromBot: Boolean)
}
This will allow you to save whatever you want from a message.
Time is tight at the moment. I can do some sort of temporary solution within a week. But presumably with the final MessageSource version.
If it is critical for you, I can try to do it within a week. Just write about it, please
I looked at your PR and it seemed to me that it would be difficult to maintain. I propose a more flexible solution, even though it's a bit more complicated.
If you're happy with this option, I'll merge the PR in the near future.
I solve it temporarily.
Thank you for issue!
Can JpaTelegramMessage save InlineKeyboardMarkup when editing a message?