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

feat: Add type property to Media Class #224

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Yi-pixel
Copy link

When parsing messages, other types of messages have separate classes, but for media messages, because there is too much overlap, including: sticker, image, document, audio, video, voice, and multiple types, they all use Media Class.

However, there is no original type attribute in Media to confirm the type of the message.

When parsing messages, other types of messages have separate classes, but for media messages, because there is too much overlap, including: sticker, image, document, audio, video, voice, and multiple types, they all use Media Class.

However, there is no original type attribute in Media to confirm the type of the message.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant