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

OriginalSyncRoomMessageEvent is undocumented #1462

Closed
timthelion opened this issue Jan 31, 2023 · 2 comments
Closed

OriginalSyncRoomMessageEvent is undocumented #1462

timthelion opened this issue Jan 31, 2023 · 2 comments

Comments

@timthelion
Copy link

I don't know what I can do with objects of type OriginalSyncRoomMessageEvent and I don't know how to inspect it. Unlike in Python, I can't just load up a REPL and run dir(). Can you please write some documentation or help me figure out how to inspect objects like this in rust?

Thanks

@timthelion
Copy link
Author

Hey, it looks like the documentation can be found by looking at the aliased type's docs. See here:

rust-lang/rust#107690

@jplatte
Copy link
Member

jplatte commented Feb 6, 2023

Yes, sorry for not replying easlier but I don't think there's anything for us to do here. You have to click the main types, in this case OriginalSyncMessageLikeEvent and RoomMessageEventContent for the content field, to get more information.

@jplatte jplatte closed this as not planned Won't fix, can't repro, duplicate, stale Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants