fix: issue

This commit is contained in:
Rogee
2024-09-13 08:56:20 +08:00
parent c7df02581e
commit 0fdb7b5b2c

View File

@@ -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 {