TelegramBotAPI v0.22.0 Release Notes
-
KtorCallFactory
must returnHttpStatement
instead ofHttpClientCall
- ๐
SendMessage
was renamed toSendTextMessage
and previousSendMessage
is deprecated - All
AbleToBe*
interfaces was renamed toPossibly*
AbleToBeEditedMessage
->PossiblyEditedMessage
AbleToBeForwardedMessage
->PossiblyForwardedMessage
AbleToBeMarkedUp
->PossiblyMarkedUp
AbleToBeEditedMessage
->PossiblyEditedMessage
ForwardedMessage
type was renamed toForwardInfo
AnonymousForwardedMessage
->AnonymousForwardInfo
UserForwardedMessage
->UserForwardInfo
ForwardedFromChannelMessage
->ForwardFromChannelInfo
PossiblyForwardedMessage#forwarded
field now renamed toforwardInfo
- All serializers in library now are
internal
. If you have used some of them or I have marked as internal by a mistake - don't hesitate to say this. EditChatMessage
now have generic type and extendsSimpleRequest<ContentMessage<GenericType>>
ResendableContent
now extendsRequest<out Message>
instead ofRequest<Message>
Most part of requests have changed return type. They are listed below:
ForwardMessage
GetChatAdministrators
EditChatMessageLiveLocation
StopChatMessageLiveLocation
EditChatMessageText
EditChatMessageCaption
EditChatMessageMedia
EditChatMessageReplyMarkup
SendAnimation
SendAudio
SendContact
SendLocation
SendTextMessage
SendPoll
SendVenue
SendGame
SendDocument
SendMediaGroup
SendPhoto
SendVideo
SendVideoNote
SendVoice
SendSticker
๐ Changed type of
createResend
GameContent
LocationContent
PollContent
TextContent
VenueContent
AnimationContent
AudioContent
DocumentContent
ContactContent
PhotoContent
VideoContent
VideoNoteContent
VoiceContent
StickerContent
๐ Version updates:
- Ktor
1.2.6
->1.3.0
- Ktor