Skip to content

Releases: celestix/gotgproto

GoTGProto v1.0.0-beta10

21 May 19:35
Compare
Choose a tag to compare

GoTGProto Changelog

  • Updated GoTD to v0.82.0
  • Deprecated ctx.ForwardMessage (Use ctx.ForwardMessages now)
  • Replaced BigCache with Cacher for cache
  • Fixed high memory usage by gotgproto (uses around 5MBs now, earlier it was 100+ MBs)
  • Rewrote GoTGProto client utilities, it should be more handy and cleaner to create a new client now.
  • Added a new dispatcher.Dispatcher interface
  • Renamed dispatcher.CustomDispatcher to dispatcher.NativeDispatcher
  • Made some optimizations in command and message handlers
  • Added types.Message, which is a union of tg.Message, tg.MessageService, and tg.MessageEmpty structs.
  • ext.Update.EffectiveMessage is of the type *types.Message now.
  • Added a new optional field in ClientOpts, named AutoFetchReply (setting this field to true will automatically cast ReplyToMessage field in update.EffectiiveMessage)
  • Peers for logged in user will now be saved in session while starting client.
  • Added client.ExportSessionString(), client.RefreshContext(ctx) and client.CreateContext() methods to gotgproto.Client.
  • Removed an unintentional display of session data in Stdout.
  • Added SystemLangCode and ClientLangCode optional fields to gotgproto.Client.
  • Moved helper methods errors to errors package (gotgproto/errors)
  • Added gotgproto.Client.Stop() to cancel the running context and stop the client.
  • Added dispatcher.StopClient handler error, which if returned through a handler callback will result in stopping the client.
  • Added gotgproto.Client.Start() to login and connect to telegram (It's already called by gotgproto.NewClient so no need to call it again. however, it should be used to re-establish a connection once it's closed via gotgproto.Client.Stop())
  • Fixed session database initialization happening twice per login.

Full Changelog: anonyindian/gotgproto@v1.0.0-beta09...v1.0.0-beta10

GoTGProto v1.0.0-beta09

14 Mar 13:00
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: anonyindian/gotgproto@v1.0.0-beta08...v1.0.0-beta09

GoTGProto v1.0.0-beta08

03 Aug 06:13
Compare
Choose a tag to compare

GoTGProto v1.0.0-beta07

03 Aug 05:59
Compare
Choose a tag to compare

GoTGProto v1.0.0-beta06

30 Jul 09:37
Compare
Choose a tag to compare

v1.0.0-beta05

29 Jul 06:01
Compare
Choose a tag to compare
v1.0.0-beta05 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: anonyindian/gotgproto@v1.0.0-beta04...v1.0.0-beta05

v1.0.0-beta04

16 Jan 08:44
32c7e97
Compare
Choose a tag to compare
v1.0.0-beta04 Pre-release
Pre-release

GoTGProto v1.0.0-beta04

  • fix nil message returned when message is sent at private chats
  • add ChatMemberUpdated handler and filters
  • fix PendingJoinRequests filters
  • Add GetMessages helper function

Full Changelog: anonyindian/gotgproto@v1.0.0-beta03...v1.0.0-beta04

v1.0.0-beta03

11 Jan 16:36
Compare
Choose a tag to compare
v1.0.0-beta03 Pre-release
Pre-release

GoTGProto v1.0.0-beta03

What's Changed

  • fix compilation error while building source with handlers package imported
  • add copyright header print
  • allow to sign in through phone number as input if not provided
  • fix a typo in readme

Full Changelog: anonyindian/gotgproto@v1.0.0-beta02...v1.0.0-beta03

v1.0.0-beta02

10 Jan 16:17
Compare
Choose a tag to compare
v1.0.0-beta02 Pre-release
Pre-release

This release makes the helpers more easy to use and some more fixes and additions.

What's Changed

New Contributors

Full Changelog: anonyindian/gotgproto@v1.0.0-beta01...v1.0.0-beta02

First beta release

05 Jan 15:01
Compare
Choose a tag to compare
First beta release Pre-release
Pre-release
v1.0.0-beta01

Add readme and a few more changes