Releases: celestix/gotgproto
Releases · celestix/gotgproto
GoTGProto v1.0.0-beta10
GoTGProto Changelog
- Updated GoTD to v0.82.0
- Deprecated
ctx.ForwardMessage
(Usectx.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
todispatcher.NativeDispatcher
- Made some optimizations in command and message handlers
- Added
types.Message
, which is a union oftg.Message
,tg.MessageService
, andtg.MessageEmpty
structs. ext.Update.EffectiveMessage
is of the type*types.Message
now.- Added a new optional field in ClientOpts, named
AutoFetchReply
(setting this field totrue
will automatically castReplyToMessage
field inupdate.EffectiiveMessage
) - Peers for logged in user will now be saved in session while starting client.
- Added
client.ExportSessionString()
,client.RefreshContext(ctx)
andclient.CreateContext()
methods togotgproto.Client
. - Removed an unintentional display of session data in
Stdout
. - Added
SystemLangCode
andClientLangCode
optional fields togotgproto.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 viagotgproto.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
What's Changed
- Fix
Issue #14
by @anonyindian in https://github.com/anonyindian/gotgproto/pull/15 - Fix unused method receiver by @deepsource-autofix in https://github.com/anonyindian/gotgproto/pull/16
- Updated depedencies
- Added ctx.GetUserProfilePhotos
Full Changelog: anonyindian/gotgproto@v1.0.0-beta08...v1.0.0-beta09
GoTGProto v1.0.0-beta08
Full Changelog: anonyindian/gotgproto@v1.0.0-beta06...v1.0.0-beta08
GoTGProto v1.0.0-beta07
Full Changelog: anonyindian/gotgproto@v1.0.0-beta06...v1.0.0-beta07
GoTGProto v1.0.0-beta06
Full Changelog: anonyindian/gotgproto@v1.0.0-beta05...v1.0.0-beta06
v1.0.0-beta05
What's Changed
- Omit redundant control flow by @deepsource-autofix in https://github.com/anonyindian/gotgproto/pull/7
- Types of function parameters can be combined by @deepsource-autofix in https://github.com/anonyindian/gotgproto/pull/8
- Fix check for empty string by @deepsource-autofix in https://github.com/anonyindian/gotgproto/pull/9
- Unused parameter should be replaced by underscore by @deepsource-autofix in https://github.com/anonyindian/gotgproto/pull/10
- Fix unused method receiver by @deepsource-autofix in https://github.com/anonyindian/gotgproto/pull/11
New Contributors
- @deepsource-autofix made their first contribution in https://github.com/anonyindian/gotgproto/pull/7
Full Changelog: anonyindian/gotgproto@v1.0.0-beta04...v1.0.0-beta05
v1.0.0-beta04
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
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
This release makes the helpers more easy to use and some more fixes and additions.
What's Changed
- Added regex filter for messages by @Nksama in https://github.com/anonyindian/gotgproto/pull/1
- Added New Mention function in parsemode helpers
- Send helpers now return tg.Message struct instead of tg.UpdatesClass
- New helper for editing a message
New Contributors
- @Nksama made their first contribution in https://github.com/anonyindian/gotgproto/pull/1
Full Changelog: anonyindian/gotgproto@v1.0.0-beta01...v1.0.0-beta02
First beta release
v1.0.0-beta01 Add readme and a few more changes