47
Views
9
Comments
Solved
Clickable Discord Icon that allows you to directly chat with the user !
Question
Application Type
Mobile

Hi, 

any helpful resources please, to help me create a connection between Discord icon (attached to a list of users) and the Discord app where I can chat in private with that specific user chosen from the list.

The filtering will be done through the username used in the Discord app.

Any documentation, examples or forge components I can use to do this (if applicable to mobile app)?


Thanks in advance.

Best regards,

Azhar Bondi


2023-02-09 12-36-42
Damian Fonville
Solution

In personal projects I used the Discord protocol identifier to open the discord app. 

For a private messge you can use discord://-/channels/@me/{USERID}

See the link below for more options

https://gist.github.com/ghostrider-05/8f1a0bfc27c7c4509b4ea4e8ce718af0

2023-02-09 12-36-42
Damian Fonville

To be more specific, the UserId is the ID of the discord user not the OutSystems UserId

2024-03-27 13-27-06
Azhar Bondi

Is there a way to do it with the Discord User name » "Name#Number" please? 

I can't find that format in github link you shared.

Thank you !


2023-02-09 12-36-42
Damian Fonville

I don't know if this is possible, You could ask this question on the Discord Forum, I always used the userid for my projects

https://support.discord.com/hc/en-us/community/topics

2024-03-27 13-27-06
Azhar Bondi

Thank you I will do that !! 

Note(for people looking for the same answer as me) :

Something worth saying is that, I used this URL "https://discord.com/users/DiscordUserId" with the help of the github link you sent » I can get to the profiles of the users that are in the same server as me (even if we are not friends but it doesn't work if the person is not in the same server

to get Discord User's Id » go to settings » Advanced » right click user profile » copyId 


2023-10-21 19-42-11
Tousif Khan
Champion

Hello,

Not sure about how we will Create a connection but you can go through these components available on Forger hope it will be helpful to you:

Thanks
Tousif Khan

2024-03-27 13-27-06
Azhar Bondi

Thanks ! But, not what I was looking for !

2024-11-25 22-05-29
Sergio Aznar Guallar

Hi,

I dont really know hot to send direct messages in discord, but i found a possible option that could help you to send messages in discord:

https://techwiser.com/create-discord-webhook-send-message/


Kind regards,

Sergio

2024-03-27 13-27-06
Azhar Bondi

Thanks ! But, not what I was looking for ! 

2023-02-09 12-36-42
Damian Fonville
Solution

In personal projects I used the Discord protocol identifier to open the discord app. 

For a private messge you can use discord://-/channels/@me/{USERID}

See the link below for more options

https://gist.github.com/ghostrider-05/8f1a0bfc27c7c4509b4ea4e8ce718af0

2023-02-09 12-36-42
Damian Fonville

To be more specific, the UserId is the ID of the discord user not the OutSystems UserId

2024-03-27 13-27-06
Azhar Bondi

Is there a way to do it with the Discord User name » "Name#Number" please? 

I can't find that format in github link you shared.

Thank you !


2023-02-09 12-36-42
Damian Fonville

I don't know if this is possible, You could ask this question on the Discord Forum, I always used the userid for my projects

https://support.discord.com/hc/en-us/community/topics

2024-03-27 13-27-06
Azhar Bondi

Thank you I will do that !! 

Note(for people looking for the same answer as me) :

Something worth saying is that, I used this URL "https://discord.com/users/DiscordUserId" with the help of the github link you sent » I can get to the profiles of the users that are in the same server as me (even if we are not friends but it doesn't work if the person is not in the same server

to get Discord User's Id » go to settings » Advanced » right click user profile » copyId 


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.