0.34.0
It is recommended to use 0.34.1 version due to the bug in 0.34.0 related to rewriting of TextSource
s creating mechanism.
UPDATE UP TO Telegram Bot API 5.2
ALL OLD DEPRECATIONS WERE REMOVED
Core
:- Type
ChatType
has been added - New
ExtendedChat
for unknown messagesUnknownExtendedChat
has been added SendInvoice#startParameter
becomes optional and replaced inSendInvoice
constructor- New interface
CommonSendInvoiceData
has been added- Fields
CommonSendInvoiceData#maxTipAmount
andCommonSendInvoiceData#suggestedTipAmounts
have been added
- Fields
- New type
InputInvoiceMessageContent
has been added - New interface
TextedWithTextSources
on top ofTexted
interface- Interface
TextedInput
now extendsTextedWithTextSources
with overriding oftextSources
field as not
nullable textSources
become main field inTextedInput
- MIGRATION Remove all
import dev.inmo.tgbotapi.CommonAbstracts.textSources
in your project textEntities
become are calculable property inTextedInput
- MIGRATION Remove all
- Interface
- Interface
Captioned
andCaptionedInput
now is deprecated- Most of captions usages were replaced with texts
- Interface
Explained
andExplainedInput
now is deprecated- Most of captions usages were replaced with texts
- Interface
VoiceChatEvent
now isCommonEvent
- Mechanism of
RawMessageEntity
converting were fully rewritten
- Type