How to send photo, audio in telegram bot from URL with space - telegram-bot

When i send photo or audio from URL work fine but if URL have space photo don't send
how to send photo, audio in telegram bot from URL with space?
I test '%20' '+' but don't work

Related

To which url should the Telegram APIs send data?

Hi in telegram api i found this api auth.checkPhone but telegram only show data to send and receive, no url to send that data how can i use those api? To which telegram url should i send data (not bot api here)

How telegram link cache be reused

Telegram caches info about URLs (thumbnails, media dimensions, info if mp4 link is an Animation or a Video etc)
Can I access those information via Bot API?

RingCentral API to download voicemail

When someone leaves a voicemail, I would like to have RingCentral send an email to me with the voicemail attached as an audio file. RingCentral sends a "notification" and optionally, the transcribed text of the voicemail, but not the audio file. Can I use the RingCentral API to access the voicemail audio files (and transcriptions)?
RingCentral already have the feature of sending notification mails with voicemail audio files.
You need to set the notification to your mail from your online account portal:
and you will get email that contains voicemail audio files:
If you want to get the audio file via API, you need to call the message store API:
GET https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/message-store
and in response you will get the AudioTranscription and voice mail media file url something like this:
{
....
"attachments": [
{
"id": <id>,
"uri":
https://media.devtest.ringcentral.com/restapi/v1.0/account/<accountid>/extension/<extensionid>/message-store/<messagestireid>/content/<contentid>
}
You can download the voicemail file from the attachment url

Link to Start WhatsApp Video Chat

Like https://api.whatsapp.com/send?phone={phone_no} to send messages.
Is there any link to start video chat to a phone number using Whatsapp api?

How to send image using gcm in android?

I am working on a project which will implement chat feature. I am using GCM to send message and working fine. But i want to send image just like facebook chat. After searching google i found that we can send image by encoding the image into base64 string. But the message size of gcm is up to 4kb so i can not send image like that. Here i need to upload the image into server and then needs to send the user a link and fetch the image from that link. But i think this will be a slow process . What can i do know?
I am sending message to others directly from my device using gcm. Please help me. I already found AirBop. But is there any other solution to send image?
you have to upload the image without GCM, On your server you have to had application that read the file from your device (Via Socket), and return the URL of the saved image, then the device send a link via gcm (as text) the partner gets the link and download the image.