mtproto
mtproto copied to clipboard
Telegram MTProto and its proxy (over gRPC) in Go (golang). API Layer: 71
Hi, i have a problem where from time to time the spinlock seems to be endless. i managed to reproduce it when resetting the connection around the time where login...
when compiling **layer 71** i get the following warnings ``` tl_update.proto:7:17: "mtproto.PredUpdatesState" is not defined. tl_update.proto:8:17: "mtproto.PredUpdateShortMessage" is not defined. tl_update.proto:9:17: "mtproto.PredUpdateShortChatMessage" is not defined. tl_update.proto:10:17: "mtproto.PredUpdateShort" is not defined....
Is there way to handle and store in arbitrary database the sessions of multiple users?
panic: sync: negative WaitGroup counter goroutine 51 [running]: sync.(*WaitGroup).Add(0xc0004640c0, 0xffffffffffffffff) D:/Go/src/sync/waitgroup.go:74 +0x1eb sync.(*WaitGroup).Done(0xc0004640c0) D:/Go/src/sync/waitgroup.go:99 +0x3b github.com/cjongseok/mtproto.(*Session).sendRoutine.func2(0xc0004b2000, 0xc0000c6460, 0xc0004640c0) D:/MyGo/src/github.com/cjongseok/mtproto/session.go:643 +0x121 created by github.com/cjongseok/mtproto.(*Session).sendRoutine D:/MyGo/src/github.com/cjongseok/mtproto/session.go:637 +0x1c6
I am trying to implement multi-account feature in my program. I define array of accounts and try to login: ```golang // Account represents Telegram account. type Account struct { Phone...
The code that I am writing is this: What I am trying to do is to get a list of dialogs. But sometime `panic` error happens due to some network...
I want to use this via bot token and so need ability to auth not only by phone, but with bot token.