How to send picture with text in telegram


How to Use Telegram to Send High-Quality Photos & Videos

Never worry about crappy resolution again

Telegram is considered one of the best free messaging apps for several reasons. You can use Telegram to exchange large files with your friends, have secret chats, edit or delete messages after you send them, and all without worrying about the security of your private data. 

However, not many people know about one of the most useful features of Telegram. You can use this app to send high-quality photos and videos online. We’ll teach you all about this feature, and how to use it on both mobile and desktop versions of the app. 

Table of Contents

    Why Use Telegram to Send High-Quality Photos & Videos?

    Messengers are great for exchanging photos and videos. It can quickly become frustrating if the files you send or receive are blurry. That happens because social media and messaging platforms use different image compression techniques. While this simplifies the process of exchanging media files and allows you to send and receive photos quickly, it also means that the quality differs from the original when it reaches the recipient. 

    Sending uncompressed files can help you avoid disappointment and make sure both the sender and the recipient get the same quality photos and videos. Plus, on Telegram, you don’t have to worry about the files being too big, as the app allows you to exchange large files. Thanks to Telegram’s superior security protocols, you also don’t have to worry about keeping your media files private. 

    What’s the Max File Size that You Can Share on Telegram? 

    On Telegram, you can send individual files of up to 2GB in size. That exceeds the limits of any other messaging platform. For example, the maximum file size that WhatsApp allows is 16MB for all media, and 100MB for the files you share as documents. 

    As long as your photo or video doesn’t exceed 2GB, you can send it via Telegram at its full quality. You can also use Telegram as unlimited cloud storage for your files. Even if you accidentally delete a file from your phone but still have it on Telegram, you can download it again at any time. 

    How to Send Uncompressed Photos & Videos in Telegram Mobile 

    There are two ways to send uncompressed media files in the Telegram mobile app. To send high-quality photos & videos from your smartphone, follow the steps below. The steps are the same for both iOS and Android. 

    1. Open Telegram on your smartphone and navigate to the chat where you want to send your pictures & videos.
    2. In the chat, select the Attachment icon on the right side of the message box. 
    1. Select File from the options at the bottom of your screen.
    1. Telegram will then give you three more options to locate your files: Internal Storage, Telegram, and Gallery. Select Gallery
    1. On the next screen, select the photos and videos you’d like to send, and select Send

    The photos and videos you send using this method will be delivered in their original quality. You can also use the following method to send uncompressed files on Telegram. 

    1. Open Telegram on your phone and find the chat where you want to send your pictures & videos.
    2. When you open the chat, select the Attachment icon in the message box. 
    3. Select the media files that you want to send from your Gallery
    1. Select the three vertical dots on top of the box and select Send without compression

    Your files will then be sent without being compressed first. 

    How to Send Uncompressed Photos and Videos in Telegram Desktop

    What if you have your high-quality photos and videos saved on your computer? You can also send them in Telegram without having to sacrifice the quality using the desktop app. To send uncompressed photos and videos in Telegram from your computer, follow the steps below.

    1. Open the Telegram desktop or web app.
    2. Open the chat where you want to send your files. 
    1. Select the Attachment icon (on the left side of the message box if you’re using the desktop app, and on the right side if you’re using Telegram web). 
    1. Select the files that you want to share. Then select Open
    2. In the pop-up, you’ll see two options: Send in a quick way and Send without compression. Select Send without compression

    If you’re sending videos from your computer using Telegram, you won’t see the option to send your files without compression. That’s because Telegram doesn’t compress video files, so you don’t have to worry about keeping your high-quality. 

    Share Your High-Quality Photos and Videos on Telegram

    You can choose any of the methods we described to exchange images and videos with your friends or colleagues on Telegram without worrying about compression and reduced quality.  

    Do you often send high-quality photos & videos online? Do you use Telegram for it or some other app? Share your experience with file transfers in the comments section below. 

    ';document.getElementsByClassName("post-ad-top")[0].outerHTML='';tocEl.outerHTML=tocHTML+newHTML;}}catch(e){console.log(e)}

    Anya is a freelance technology writer. Originally from Russia, she is currently a full-time Remote Worker and Digital Nomad. With a background in Journalism, Language Studies, and Technical Translation, Anya couldn't imagine her life and work without using modern technology on a daily basis. Always looking out for new ways to make her life and location-independent lifestyle easier, she hopes to share her experiences as a tech- and internet-addict through her writing. Read Anya's Full Bio

    Subscribe on YouTube!

    Did you enjoy this tip? If so, check out our very own YouTube channel where we cover Windows, Mac, software, and apps, and have a bunch of troubleshooting tips and how-to videos. Click the button below to subscribe!

    Subscribe

    How to send an Embedded Image along with text in a Message via Telegram Bot API

    Asked

    Modified 5 months ago

    Viewed 49k times

    Using Telegram Bot API,

    I'm aware that it is possible to send an image via https://core.telegram.org/bots/api#sendphoto

    However, how can I embed a remote image into a formatted message?

    The message I am looking to send, can be compared to a news article with a title in bold, an image, and a longer text with links. I figured out how to create bold text and links with markdown, but I'm failing at inserting images. How can we do that?

    • telegram
    • telegram-bot

    6

    you must set ParseMode in HTML and set your Image Url in A tag like this:

    <a href="' + image + '">&#8205;</a> 

    &#8205; -> never show in message

    2

    You can use zero-width space trick. Works for both Markdown and HTML parse mode.

    Markdown:

    $data = [ 'chat_id' => $chat_id, 'parse_mode' => 'markdown', 'text' => "[​​​​​​​​​​​](https://upload.wikimedia.org/wikipedia/commons/thumb/0/02/Stack_Overflow_logo.svg/200px-Stack_Overflow_logo.svg.png) Some text here.", ]; 

    Result:

    Note: The zero-width space is in-between the brackets "[​​​​​​​​​​​]".

    1

    import requests text="testing" img="http://imageurl. png" r = requests.get('https://api.telegram.org/botyour_token_here/sendMessage?chat_id=@your_channel_here&parse_mode=markdown&text='+"[​​​​​​​​​​​]("+img+")"+text) 

    Method using <a href=http://.......jpg>..</a> will show preview of the image below the text. Like this:

    a href sample

    It will look better if you send an image with a caption.

    caption sample

    2

    You should just add captions

    bot.send_video(user_id, video, caption='some interesting text') 

    In our case captions are text. look this image

    Using sendPhoto rather than sendMessage is a cleaner way of achieving this, depending on your use case, for example:

    import io import json import requests telegram_bot_token = 'INSERT_TOKEN_HERE' chat_id = '@INSERT_CHAT_ID_HERE' bot_url = 'https://api.telegram.org/bot' + telegram_bot_token + '/sendPhoto' img_url = 'https://upload. wikimedia.org/wikipedia/commons/thumb/0/02/Stack_Overflow_logo.svg/200px-Stack_Overflow_logo.svg.png' msg_txt = '<b>Stack Overflow Logo</b>' msg_txt += '\n\nStack Overflow solves all our problems' payload = { 'chat_id': chat_id, 'caption': msg_txt, 'parse_mode': 'html' } remote_image = requests.get(img_url) photo = io.BytesIO(remote_image.content) photo.name = 'img.png' files = {'photo': photo} req = requests.post(url=bot_url, data=payload, files=files) response = req.json() print(response) 

    Sign up or log in

    Sign up using Google

    Sign up using Facebook

    Sign up using Email and Password

    Post as a guest

    Email

    Required, but never shown

    Post as a guest

    Email

    Required, but never shown

    how to add, send, save, forward

    Today it is difficult to imagine correspondence in messengers without a stream of media files and documents, but images remain the most demanded content. Therefore, having taken a great picture or found an interesting picture, the user is faced with the problem of how to send a photo to Telegram.

    How do I upload/attach a photo?

    Not everyone knows that Telegram compresses photos, but this does not happen with all pictures and not always. Common formats - jpg (jpeg), png and gif - can be sent both in compressed form and in its original form. Other types of photos (such as raw or psd) Telegram sends without compressing. nine0003

    To insert a photo into a Telegram chat using an Android smartphone, you will need:

    • Open the chat and tap the paperclip icon next to the message field;

    • In order to quickly send a photo from the gallery, you need to select a photo (one or more can be) and click on the airplane icon. In this case, the image will be compressed, and if there are several images, they will all be sent in separate messages;

    • To send several pictures in an album, select the Gallery button, then the album (if the pictures are divided into albums on the phone). By ticking the desired images, the user will need to tap on the icon in the form of two squares. The squares should change color from white to blue - this means that the pictures will be sent in the album;

    • In order to send a picture in its original size, you need to select the “File” item, in the list that opens, find and open the desired folder. Short press to send one selected image. By holding your finger on a file, you can start selecting multiple files to send. nine0012

    For devices running on iOS, you can send a photo via Telegram according to a similar principle:

    • Open a chat and press the paperclip icon;
    • Select "Choose Photo" - to send a compressed photo from the gallery, "File" - to send a picture in its original size, "Find images" - to search for an image in the file manager.

    For PC (Windows), the image sending algorithm is as follows:

    • Open chat click on the paper clip icon; nine0012

    • To choose whether or not to compress photos for sending: in the window that opens, select “All Files” and 1(!) file. Then click on the "Open" button, select "Send as a photo" to compress the image, or "Send as a file" to send the source;

    • To quickly send a compressed image, select the “Image files” type, select the image (one or more can be), and then click the “Open” button.
    • nine0013

      When sending from a PC, the user is unable to organize images into albums.

      How to save a photo from Telegram in the gallery?

      Large media files sent in their original size are not automatically downloaded by the messenger, and downloading small and compressed images depends on the settings of the Telegram application. If the Media Autoload slider is set to on in the settings, compressed media files will be automatically downloaded to the cache (internal memory) of the device. nine0003

      But, in order for the image to be seen in the gallery, the user will need to perform several actions in the Telegram application:

      • For Android devices. Open a chat, if an arrow is drawn on the image, you need to click on it and wait for it to load. Then you need to tap on three vertical dots near the image, and in the menu that opens, select an item such as "Save to Gallery";

      • For iOS devices. Open a conversation, click on the arrow, if it is drawn. Then tap on the image to open it in full screen. Then click on the save icon in the lower left corner and select "Save to Camera Roll"; nine0012

      • For PC (Windows). Open a chat, if an arrow is drawn on the image, you need to click on it and wait for it to load. Then you need to right-click on the image - a menu will open in which you need to select "Save as" and select the desired folder.

      Where does Telegram store photos?

      Telegram stores sent pictures on the server - this means that you can log in to the device (both smartphone and PC) and see all the files that the user received or sent. Exceptions are:

      • secret chat content;
      • Messages deleted by the sender for themselves and the recipient (this is possible only within 48 hours after sending).

      If the photos were saved by the user, they can be found in the gallery, downloads, or a folder that the user has manually selected.

      How to delete a sent message in a telegram for yourself and your interlocutor

      How to send a message to Telegram from a computer

      Send picture with text to python telegram bot

      Question asked

      Changed 1 year 3 months ago

      Viewed 3k times

      I just started learning python and can't figure out how to send me a text with a picture in a telegram. Tried like this

       @bot. message_handler(commands=["start"]) def welcome(message): global num_start num_start += 1 keyboard = types.ReplyKeyboardMarkup(resize_keyboard=True, row_width=2) keyboard.add(*[types.KeyboardButton(name) for name in ['💼 Button 1', '📊 Button 2', '🚀 Button 3', 'Button 4']]) bot.send_message(message.chat.id, open('static/welc.webp', 'rb'),\n '✌️ Hello, ' + '  ' + message.chat.first_name + '  ' + '!\n\n' '🏧  Bit+Coin  is an instant exchange of  Bitcoin to Qiwi, Sberbank,' ' Yandex.Money and Webmoney  \n\n' '❕And free storage of your  BTC  \n\n', reply_markup=keyboard, parse_mode="Html") 

      Pasted this code into bot.send_message(message.chat.id,

       open( 'static/welc.webp', 'rb'), nine0141 

      But what doesn't happen, how to do it right to send a photo and text in one post.

      Like this, for example: