fix: issue
This commit is contained in:
@@ -75,7 +75,7 @@ func (t *TClient) ChannelInfoByID(ctx context.Context, channelID int64) (*tg.Cha
|
|||||||
&tg.InputChannel{ChannelID: channelID},
|
&tg.InputChannel{ChannelID: channelID},
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.Wrap(err, "contacts.resolveUsername")
|
return nil, errors.Wrap(err, "contacts.getChannelByID")
|
||||||
}
|
}
|
||||||
chats := p.GetChats()
|
chats := p.GetChats()
|
||||||
if len(chats) == 0 {
|
if len(chats) == 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user