Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2021-04-01 13:21:25

camalau
New member
Registered: 2021-04-01
Posts: 5

Display file extension

Helo!

Is there any way, even if editing in the code for the attachment link to be displayed with the extension?

Example:

Superboy.jpg
or
1efe1df6c2368d21656c1721cd344ed6.jpg

and not:
1efe1df6c2368d21656c1721cd344ed6


Thanks

Offline

#2 2021-04-01 13:34:51

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Display file extension

You did not explained your workflow. As file extension using regular uploads are shown. If it's paste image is rendered directly.

Offline

#3 2021-04-01 14:07:22

camalau
New member
Registered: 2021-04-01
Posts: 5

Re: Display file extension

remdex wrote:

You did not explained your workflow. As file extension using regular uploads are shown. If it's paste image is rendered directly.

Helo!

Sorry for the confusion on Github! I found the forum by searching on Google and thought it was more appropriate, as this is not a bug. Only I didn't remember to remove it from Github.

I'm integrating the chat with an unofficial WhatsApp API, she expects to receive the file link with the extension at the end, but the link goes without the extension.

Last edited by camalau (2021-04-01 14:07:46)

Offline

#4 2021-04-01 14:08:27

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Display file extension

What API you are integrating? and it's better to ask questions on discord you will get answers faster there smile

Offline

#5 2021-04-01 14:33:24

camalau
New member
Registered: 2021-04-01
Posts: 5

Re: Display file extension

remdex wrote:

What API you are integrating? and it's better to ask questions on discord you will get answers faster there smile

An API that uses Venom from github. The text part is already ready, now I am working on the attachments and it was precisely at this point that the thing stuck, because the "MediaUrl" goes without the extension.

Okay, I will ask on the discord to see if someone gives me a light.

Thank you for your attention

Offline

Board footer