Open
Description
In my development process, I've noticed that messages from public channels are consistently delayed for a long time before being received, while messages from private channels are received without any delay. Do you know why this happens? Are there any solutions?
func (a *TDClient) UpdateListener(messageHandler func(updateType string, message client.Message)) {
updates := a.Client.GetListener().Updates
// 接收并处理通道中的数据
go func() {
for data := range updates {
updateType := data.GetType()
if updateMsg, ok := data.(*client.UpdateNewMessage); ok {
messageHandler(updateType, *updateMsg.Message)
}
}
}()
}
Metadata
Metadata
Assignees
Labels
No labels