fix: issues

This commit is contained in:
Rogee
2024-09-05 15:51:52 +08:00
parent 568c28d3ab
commit fac2ecdf64
2 changed files with 8 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ import (
func (t *TClient) Channel(ctx context.Context, channel *tg.Channel, cfg *DBChannel, onlyAddChannel bool) error {
inputPeer := &tg.InputPeerChannel{ChannelID: channel.ID, AccessHash: channel.AccessHash}
limit := 20
limit := 50
request := &tg.MessagesGetHistoryRequest{
Peer: inputPeer,
Limit: limit,