diff --git a/internal/client.go b/internal/client.go index 51a3a9d..2989dac 100644 --- a/internal/client.go +++ b/internal/client.go @@ -75,7 +75,7 @@ func (t *TClient) ChannelInfoByID(ctx context.Context, channelID int64) (*tg.Cha &tg.InputChannel{ChannelID: channelID}, }) if err != nil { - return nil, errors.Wrap(err, "contacts.resolveUsername") + return nil, errors.Wrap(err, "contacts.getChannelByID") } chats := p.GetChats() if len(chats) == 0 {