Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Add a way to get the content to the Message interface #9

Description

@Ran-Mewo

Is your feature request related to a problem? Please describe.
It's impossible to store all types of messages and get their content

Describe the solution you'd like
A some sort of getStringContent() method to the Message interface which will return the content of any form of message, for the UserMessage it'll return the content if the content is a string, otherwise if it's a Content it'll return the text content or the image url

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions