-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT]: please add support for receiving media #76
Comments
Wait... Did you received gzipped object INSIDE rpc request? That's REALLY weird, literally ALL rpc responses larger than 0.5kb wrapping into another gzip blob. so... gzip blob inside gzip blob??? I can't believed it. |
hi @quenbyako, &objects.GzipPacked{
Obj: &telegram.UpdatesObj{
Updates: []telegram.Update{
&telegram.UpdateReadChannelInbox{
}
}
}
} To reproduce it you just need to create your own channel in Telegram and send a message to it from any client. |
Hai, I have similar problems. This is how to recreate one of them using bot. Code func (s *Service) Notify(i interface{}) bool {
switch event := i.(type){
case *telegram.UpdatesObj:
for _, update := range event.Updates {
s.pubsub.Publish(update)
}
default:
log.Printf("%T\n", event)
}
return true
} Message Content
Console
|
I have similar problem. When I get message with text in |
Is your feature request related to a problem? Please describe.
There is no support of media updates. I'm receiving message of objects.GzipPacked type, which is internal type. 😞
Describe the solution you'd like
I want to receive different types depending on the message (audio, video, document), and content in bytes.
Describe alternatives you've considered
Don't see alternatives.
Additional context
I'm receiving objects.GzipPacked in CustomServerRequestHandler function
The text was updated successfully, but these errors were encountered: