1

I am working on a flutter app. I have already provided a direct WA link in the app using the url_launcher plugin.

Now I plan to open a Discord with my discord server and direct message to other user in the user's phone. How do I do it?

Afdal
  • 501
  • 9
  • 19

1 Answers1

0

You can find an unoffical Discord protocol documentation here.

To open a direct chat you have to know the direct chat room's id.

For example:

discord://-/channels/@me/<room id>
S3nS3IW00
  • 31
  • 6
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Mar 11 '23 at 06:23