- Webhook to throw error when
setWebhookfailed
- Support API 5.7
- Show Ukrainian some love
- Fixed
onTextMentiontype cast bug
- Added short-cut to get
TeledartMessagefromTeleDartCallbackQuery
- Support API 5.4, 5.5 and 5.6
- Breaking
TeleDartnow extendsTelegram, constructor signiture has changed, allTelegramfunctions are accessable fromTeleDart. - Breaking Renamed
TeleDart.setWebhookintoTeleDart.configureWebhook - Breaking Removed
TeleDart.editLiveLocation, should useTelegram.editMessageLiveLocationinstead - Breaking Removed
TeleDart.stopLiveLocation, should useTelegram.stopMessageLiveLocationinstead - Breaking Removed
CallbackQueryanswer short-cut fromTeleDart, should use short-cut method fromTeleDartCallbackQuery - Breaking Removed
InlineQueryanswer short-cut fromTeleDart, should use short-cut method fromTeleDartInlineQuery - Breaking Removed
Messagereply short-cuts fromTeleDart, should use short-cut methods fromTeleDartMessage - Breaking Removed
PreCheckoutQueryanswer short-cut fromTeleDart, should use short-cut method fromTeleDartPreCheckoutQuery - Breaking Removed
ShippingQueryanswer short-cut fromTeleDart, should use short-cut method fromTeleDartShippingQuery
- Improve documentations
- Format files to comply with Dart styling guide
- Support API 5.2 and 5.3
- Support sound null safety
- Various bug fixes to built-in long poll and webhook fetcher
- Breaking
Webhookcan only instantiated with built-in static functionswebhook.createHttpWebhokandwebhook.createHttpsWebhok - Breaking
Eventconstructor requires bot's username - Breaking
teledart.start()method no longer returnsFuture<User>
- Fixed
jsonEncodeissue caused by_nullFilterfix
- Added function
getDownloadLinktoFileobject - Fixed
http_client_nullFilterto allow sending messages"null" - Updated Teledart models and functions to comply with API 5.1
- Update function type hints for
onCallbackQuery,onShippingQueryandonPreCheckoutQuery - Fixed Teledart message object typo
- Fixed library export directory
- Updated Teledart models and functions to comply with API 5.0
- Added
replyPollandreplyDiceTeledart shortcuts
- Support API 5.0
- Added emoji static constants to Dice object
- Allowed create webook without key pair
- Inrtoduced
AbstractUpdateFetcher, and nowWebhookandLongPollextends this class. - Support custom update fetcher implementations through
AbstractUpdateFetcher - Introduced
stopfunction toTeledartto stop fetching updates. - Introduced
setWebhooktoTeledart, which is an alias tosetWebhookfunction inWebhook, and it is not required to call this function before starting webhook. - Breaking: Removed
setupLongPolling,removeLongPollingandsetupWebhookfunctions fromTeledart. - Breaking: To setup webhook or custom implementations of update fetcher,
- Breaking: The
setupWebhookmethod inTeledartnow takes no parameters. - Breaking:
startWebhookandstopWebhookinWebhookhas renamed intostartandstop. - Breaking:
startPollingandstopPollinginLongPollhas renamed intostartandstop.
- Fixed long poll onError type mismatch bug
- Enabled Teledart to remove webhook without setting up a webhook
- Fixed http client exception bug
- Femoved redundant error catch
- Temporary accept dynamic
chat_id
- Fixed restrictChatMember API URL
- Fixed
toJsonmethods inchat_permissions,locationandlogin_urlmodels - Enabled
explicit_to_jsoninjson_serializableso nested objects can be parsed
- Added custom server port to webhook implementation
- Added auto-retry to long poll implementation
- Gradually increase retry timeout on each retry, initial timeout is 1 minute
- Automatically retry on exception except HTTP Client error (400)
- Updated multipart file upload to include original file name
- Fixed removeLongPolling not stopping recursive long poll
- Fixed long poll not starting with custom long poll configuration
- Fixed missing fields/typos in InlineQueryResultGif, InlineQueryResultMpeg4Gif and PassportElementErrorUnspecified
- updated restrictChatMember
- Updated example file structure
- Renamed
TeleDartMessage.replyMesasgeintoTeleDartMessage.reply
- Allow overriding webhook server port
- Added reply shortcuts to message
- Added answer shortcuts to callback, inline, pre-checkout and shipping queries
- Added onPollAnswer teledart shorthand
- Support API 4.9
- Added poll answer event
- Fixed answerPreCheckoutQuery typo
- Support API 4.8
- Fixed disclaimer doc block warnings
- Renamed
datetime_duration_converter.dartintotime_helper.dart - Converted
time_helperinto a class
- Fixed #98
- Support API 4.6
- Support API 4.7
- Utilised native objects for date/time related objects (#91)
- Updated onMessage (and related functions) to accept String as well as RegExp (#92)
- Support API 4.5
- Follow new styling guide
- Update analysis_options file
- Support API 4.3
- Support API 4.4
- Fixed #70
- Update dependencies
- Prepare for upcoming change to HttpRequest and HttpClientResponse
- Fixed styling with if statments
- Updated readme and example
- Changed
startFetching()intostart(), and it returns aUserobject which represents the bot
- Fixed up webhook workflow
- Added example to setup webhook
- Support API 4.2
- Modulised model files
- Updated examples
- Fixed #48
- Fixed #46
- Downgrade http package to ^0.11.3, to be compatible with firebase
- Added pedantic package to dev dependencies
- Fixes #40
- Fixes #41
- Follow new styling guide
- Better dartdoc
- Hot fix #36, toJSON() passing null values explicitly
- Hot fix #34 400 Bad Request: field "keyboard" of the ReplyKeyboardMarkup should be an Array of Arrays
- Fixed getUserProfilePhotos() returns UserProfilePhotos instead of List
- Update readme
- Update description
- Update readme
- Added Bot API 4.1 support
- Update dependencies
- Hot fix model json annotation file
- Hot fix inline_keyboard variable in InlineKeyboardMarkup
- Add shortcuts
- Supports API 4.0
- Depends on json_serializable/json_annotation handling json objects
- Fixes typos in model.dart
- Supports regular expression in onMessage()
- Fixes pubspec.ymal SDK constraint to support Dart 2 release
- Edit README.md Dart Version shield to build version
- Bug fixes
- Edit example in README.md
- Bug fixes
- Edit example
- Dart2 ready!
- Add short-cut for inline query
- Rename ChosenInlineQuery into ChosenInlineResult and associated objects
- Add missing InlineQueryResultVoice to model
- Bug fixes
- Edit README.md
- Add onMessage short-cuts
- Add sendMessage short-cuts
- Add missing ShippingQuery to Update
- More editing on README.md
- Edited README.md
- First release
- Initial version, created by Stagehand