feat: sync multilayer td integration
This commit is contained in:
parent
20a310f6ca
commit
766c5db992
491 changed files with 26235 additions and 35340 deletions
|
|
@ -4,10 +4,10 @@ import (
|
|||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/gotd/td/bin"
|
||||
"github.com/gotd/td/clock"
|
||||
"github.com/gotd/td/tg"
|
||||
"github.com/gotd/td/tgerr"
|
||||
"github.com/iamxvbaba/td/bin"
|
||||
"github.com/iamxvbaba/td/clock"
|
||||
"github.com/iamxvbaba/td/tg"
|
||||
"github.com/iamxvbaba/td/tgerr"
|
||||
"go.uber.org/zap/zaptest"
|
||||
|
||||
appcontacts "telesrv/internal/app/contacts"
|
||||
|
|
@ -600,7 +600,7 @@ func TestModernForwardMessagesConstructorSavesToSelf(t *testing.T) {
|
|||
if err != nil {
|
||||
t.Fatalf("dispatch messages.forwardMessages#41d41ade: %v", err)
|
||||
}
|
||||
// Now routed through the unified layerwire client-alias (4-byte id swap) and
|
||||
// Now routed through the generated static client overlay and
|
||||
// the normal gotd dispatcher, which boxes a class result as *tg.UpdatesBox
|
||||
// (wire-identical to the raw UpdatesClass the dedicated handler used to return).
|
||||
switch v := enc.(type) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue