Skip to content
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

FromID is nil in outgoing message #1500

Open
asdfzxcvbn opened this issue Jan 6, 2025 · 0 comments
Open

FromID is nil in outgoing message #1500

asdfzxcvbn opened this issue Jan 6, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@asdfzxcvbn
Copy link

asdfzxcvbn commented Jan 6, 2025

What version of gotd are you using?

$ go list -m github.com/gotd/td
github.com/gotd/td v0.116.0

Can this issue be reproduced with the latest version?

Yes

What did you do?

if you send a message and save its value, you'll see its FromID is nil. FromID is present in outgoing messages in other libraries like pyrogram or WTelegramClient. i was able to trace a related(?) old PR that might be related, but i'm not so sure considering its age: #289

note: im using GoTGProto, but was able to trace this issue to gotd as GoTGProto is just a wrapper, and its ext.Update.EffectiveMessage embeds tg.Message

What did you expect to see?

a correctly filled FromID.

What did you see instead?

FromID:<nil>

What Go version and environment are you using?

$ go version
go version go1.23.4 darwin/arm64
@asdfzxcvbn asdfzxcvbn added the bug Something isn't working label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant