Releases: celestix/gotgproto
GoTGProto v1.0.0-beta18
fix: nil effective user for private chats
fix: instable peer caching and handling
fix invalid implementation of RetryPassword hook
feat: auth status events and retry mechanism for phone and otp input
feat: add filter.Message.ChatType
add a flag to disable automatic auth flow
fix: default empty session file name for string session constructors
optimize web auth api example for concurrent auths
add an interface for client type
bump up gotd
fix: bot login not working
Full Changelog: v1.0.0-beta17...v1.0.0-beta18
GoTGProto v1.0.0-beta17
What's Changed
- Add support for logging in using tdesktop session data (TDATA) in #58
- fix:
FILE_REFERENCE_EXPIRED
in ctx.DownloadMedia by @TeaDove in #62 - Add support for using any SQL dialector (Now you can use database of your choice like postgres, sqlite, etc)
- fix: EffectiveUser not getting populated for update types other than message.
Full Changelog: v1.0.0-beta16...v1.0.0-beta17
GoTGProto v1.0.0-beta16
What's Changed
- add web auth example by @Emanxu in #49
- Fixed ctx random seed to nanosecond to prevent the randomID generated… by @DukeAnn in #50
- Docs: add floodwaiter example by @TeaDove in #51
- support single styling.StyledTextOption by @CoiaPrant233 in #52
New Contributors
- @Emanxu made their first contribution in #49
- @DukeAnn made their first contribution in #50
- @TeaDove made their first contribution in #51
- @CoiaPrant233 made their first contribution in #52
Full Changelog: v1.0.0-beta15...v1.0.0-beta16
GoTGProto v1.0.0-beta15
What's Changed
- Fix
client.ExportStringSession()
and addRunMiddleware
field to client. by @KoNekoD in #41 - Add an optional field to specify custom Context by @KoNekoD in #44
- Bump golang.org/x/crypto from 0.16.0 to 0.17.0 by @dependabot in #47
- Add an interface for AuthConversation by @celestix in #46
- Add missing fields to
gotgproto.Client
fromtelegram.Client
by @celestix in #48
Full Changelog: v1.0.0-beta14...v1.0.0-beta15
GoTGProto v1.0.0-beta14
What's Changed
- Wrap session.Session around session data before exporting by @KoNekoD in #33
- fix: ability to use dc resolver by @KoNekoD in #35
- Update markdown.go by @jimpo26 in #36
- Fix bug in retrieving replyTo messages and added flag to retrieve entire reply chain by @jimpo26 in #37
- Redesign session initialization system by @celestix in #38
- use pure go sqlite driver by @EverythingSuckz in #40
New Contributors
- @jimpo26 made their first contribution in #36
- @EverythingSuckz made their first contribution in #40
Full Changelog: v1.0.0-beta13...v1.0.0-beta14
GoTGProto v1.0.0-beta13
- Updated to GoTD to v0.88.0 (Layer 164)
- Redesigned session initialization (Now supports logging in with just string session in memory as well as session file)
- Added
Middlewares
andDevice
fields toClientOpts
ForwardMediaGroup
won't omit error now
Full Changelog: v1.0.0-beta10...v1.0.0-beta13
GoTGProto v1.0.0-beta12
What's Changed
Full Changelog: v1.0.0-beta11...v1.0.0-beta12
GoTGProto v1.0.0-beta11
What's Changed
- [ImgBot] Optimize images (#1) by @annihilatorrrr in #24
- improved sessionName + NewClient + InMemorySessionName by @KoNekoD in #30
New Contributors
- @annihilatorrrr made their first contribution in #24
- @KoNekoD made their first contribution in #30
Full Changelog: v1.0.0-beta10...v1.0.0-beta11
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