How to hide link in telegram


How to make a hyperlink in telegram without using bots?

How to make a Hyperlink in telegram?
how to make a hyperlink in telegram without the help of bots?

  • hyperlink
  • telegram

1

As of Telegram Desktop Version 3.1.1, You can format the your message like:

Create link:

Ctrl + K = this pops Create link field and auto fills selected text on Text 

Other useful hotkeys:

Ctrl + B = Bold Ctrl + I = Italic Ctrl + U = Underline Ctrl + Shift + S = Strikethrough Ctrl + Shift + M = Monospace Ctrl + Shift + N = Plain Text Ctrl + Shift + X = Strikethrough 

3

On Telegram Desktop for macOS, the shortcuts differ. You can right-click a highlighted text, then hover over Transformations to see the available options:

1

In telegram desktop, use this hotkey: ctrl+K

In android:

  1. type your text
  2. select it
  3. and click on Create Link from its options

You can see these steps in this image:

You can make a hyperlink in Telegram by writing an URL and send the message. Using Telegram Bot APIs you can send a clickable URL in two ways:

Markdown:

[This is an example](https://example.com) 

HTML:

<a href="https://example.com">This is an example</a> 

In both cases you will have:

This is an example

EDIT: In new version of Telegram clients you can do that, see above answers.

6

Step 1:Select the text you want to give to the hyperlink.

Step 1:Select the three dots at the above right corner.

Step 1: click create link from the options

Step 1: insert the url

Select ok then the link will be created

In the new desktop versions, you can add hyperlink by pressing ctrl + k and typing links.

My phone is xiaomi Redmi note 8 with MIUI 11. 0.9 . There is no option for create hyperlink : So I use Telegram desktop or Telegram X for create hyperlink because Telegram X supports markdown. Type url and send message (in Telegram X) or there is an alternate way which is the easiest!

This way works for all phones!

Select the text using Word Editor and click in the three dots on the top right corner of the chat. It is usually used for accessing settings but if you select a text and click there, you can see Telegram's own Formatter!

2

Try this link format: https://t.me/[YourUserName]

I was looking for such a thing, BUT with text in (like the one that WhatsApp got)

If you're using iOS and (still, after all these years) don't have the button to create a link you can use this shortcut to create a link with custom text.

URL is taken via "share" action, clipboard if the shortcut wasn't called via "share" menu or requested from user.

The result is put in the clipboard, you just have to paste it into telegram.

First make link with @bold bot . Then Copy text and paste it to remove "via @bold"

Send an image link to telegram without display image url

Asked

Modified 1 year, 2 months ago

Viewed 42k times

I need send an image url to telegram without display image url and hidden url. I see a telegram bot and it's do it very well and send long message with image I'm attach this bot result image see it. Now how can do it in my custom bot? It's possible hidden url with MARKDOWN style or any way? I want hidden image url in my text but telegram display my image. see my sample attach image. thank you

  • image
  • telegram
  • telegram-bot

Most of them use the dot (or some things like this character) for link description and you thought there is no link.

You can type the following line and select custom markdown:

@bold [.](http://www.planwallpaper.com/static/images/i-should-buy-a-boat.jpg) 

If you want to add text to your link, you need to create a bot and use this approach in the bot.

Edit:

For sending hyperlink with the bot api you can simply send html markup and using parse_mode. See telegram documents:

To use this mode, pass HTML in the parse_mode field when using sendMessage. The following tags are currently supported:

<b>bold</b>, <strong>bold</strong> <i>italic</i>, <em>italic</em> <a href="http://www.example.com/">inline URL</a> <a href="tg://user?id=123456789">inline mention of a user</a> <code>inline fixed-width code</code> <pre>pre-formatted fixed-width code block</pre> 

sample:

<a href="http://www. planwallpaper.com/static/images/i-should-buy-a-boat.jpg"></a> 

3

According to the Telegram API, it seems if you set disable_web_page_preview to true, you should get the result you want.

The final message should look something like this:

{ chat_id: 1235, message: "http://your/url", disable_web_page_preview: true, } 

EDIT: It seems I misunderstood the question, and you actually want the image to appear by itself rather than the url by itself.

Again, as per the Telegram API you can send an image directly. But as far as I can tell, you can't use a URL to do it. You would have to upload the photo from your telegram server directly. You could use the caption property to send text with it.

Here is an example of how you might be able do this in python. You will need to tweak this to whichever language you are using, but the concept is the same.

import requests response = requests.post( "https://your.bot.url.com/sendPhoto", data={ "chat_id": 1234, "caption": "Your extra text here" } files={ "photo": ( "image_name.jpg", "contents of image", "image/jpg", {}, ) } ) 

The caption property has a limit of 200 characters, so if you want to send more characters then that, you'll have to send two messages.

You can always ask Telegram to add this type of functionality in the future

7

The answer is zero-width non-joiner (ZWNJ) character. ZWNJ is encoded in Unicode as U+200C ZERO WIDTH NON-JOINER (HTML &#8204; , &zwnj;).

HTML mode:

<a href="https://example.com">&#8204;</a> 

MARKDOWN mode:

[‌‌](https://example. com) 

Update 2021:

The answer is still working but telegram doesn't let you send an empty text message that include only this character anymore, so you have to add at least one character in the whole text message. In addition you can also use the character Unicode Character 'WORD JOINER' (U+2060) instead.

3

You can use &#160; character as hidden character.

1

This might help:

It works for both:

  • web links
  • telegram links
import requests def telegram(channel,bot,text,img): if(text==""):text="Refer - " r = requests.get('https://api.telegram.org/bot'+bot+'/sendMessage?chat_id=@'+channel+'&parse_mode=markdown&text='+"[​​​​​​​​​​​]("+img+")"+text) 

Use the above function. It will work perfectly. In case, there is no text and only image, it should break. So it will show a "." (dot) in those cases.

Now use the function -

telegram(your_channel_name,your_token_here,description,image_url) 

To correctly send an image hosted on a website without showing any reference link, you must use the "html" parsing mode.

And in the content to send, for example, something like this (Python mode):

# We take the html address of the image. image_address = 'https://picsum.photos/100.jpg' # The unicode character to prevent the words from # being separated, in this case, we take advantage # of it so that the Telegram API accepts it and # incidentally so that it does not take up space # when including text in the message. word_joiner = '&#8288' # This would be the final pattern. html_pattern = f'<a href="{image_address}">{word_joiner}</a>' 

With HTML parse mode. Keep empty space between the opening and closing tag.

<a href="https://t.me/"> </a> 

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 hide a clickable link in text

If you insert a link to a site or an image into a message as text, sometimes it takes up too much space and looks ugly. A logical question arises - how to make a clickable hyperlink in Telegram, enclosed in one word or phrase? This can be done using the official app bot or on your own using formatting.

CONTENT OF THE ARTICLE:

How to make a link in Telegram with the word

To hide the transition to a web page behind a word or phrase, numerous Telegram bots or a coding system using special keyboard shortcuts are used. The latter is advisable to carry out only on a computer.

On Android

Android phones do not have an automatic hyperlink function, so you need to use the services of bots to hide a website address that is too long in text. Moreover, such text can only be displayed on their own channels in which the user is an administrator. It will not be possible to send a message with a hyperlink to a friend. nine0003

In order to create a clickable word, you need to go to the channel and click on the settings icon in the upper right corner.

@markdownbot is added as an administrator.

Then you need to go into a dialogue with the robot and activate it with the "Start" button.

Now publications can be formatted using the template: [text](link).

On Iphone

Active text with a hidden address can be easily created using a similar bot @ControllerBot. nine0003

The sequence of actions is the same as when working on android, but the text will be formatted as follows: [link text](http://aaa.com/url).

On a computer

There are two ways to make a clickable message. A beautiful and fast hyperlink can be obtained using a quick keyboard shortcut. Simply select a phrase or word and press Ctrl+K. Enter the desired link in the URL field.

The second way is with the help of automatic programs, like on an android or iPhone. nine0003

Possible problems

Bots do not always work correctly, especially if you do not install updates on the smartphone's mobile application. If the hyperlink does not work even after following the sequence of all actions, it makes sense to install the latest update from the mobile market and check the phone's cache.

Did it help you? Share with your friends - help us too!

Tweet

Share

Share

Send


Don't worry about privacy: everything is checked by the application, so the data will not be lost or transferred to another person.

What is it for?

  • Telegram link preview is required in order to get basic information about the content published on the site;
  • If a post is created in a group, you should take care of its design - this will attract users;
  • Paying attention to this or that information. If the information is important, then a bright and catchy preview image will make the interlocutor familiarize himself with the site and read the publication. nine0094

Why doesn't the link preview work in Telegram?

If suddenly the link was sent, but the image illustrating the content of the page did not appear, do not worry and scold Telegram. There are several causes outside the application that can be named:

  • No tags. In order for the image to be shown when sending links, it must be framed with tags. But on some sites they may not be affixed.
  • Indexing prohibited. For website pages to be included in the search results, they must be open for indexing. If the page is not yet ready, it is closed from indexing. It is not shown in the search results, but you can get to it by “walking” around the site. If the user sends someone a link to it, then he will not see any preliminary image. nine0094
  • Posting prohibited. Some people want to protect the unique images on the site as best as possible. For this, a certain key is also put down in the code line.
  • Internet. You have to wait for the preview to load. If you send the link at the same time, then it will not have time to load. Also, it will not wait for the preview to load if the Internet is slow and weak.

How to disable preview in Telegram?

You can't disable the feature, but you can remove the preview. And it's very easy to do:
After the user has inserted a link into the message, you need to move the mouse over the image and click on the cross in the upper right corner.

However, links in messages and previews are not the biggest part of the links that roam Telegram. Users, channels and supergroups have their own links, which are not always permanent, they can exchange them both within the messenger and on the Internet.

How to link to Telegram?

One of the first questions a user has is what is a link to a Telegram account, how to make it, and how it differs from a link to a group or channel. nine0079 The link can be obtained in the messenger, and the difference lies in the method of obtaining and appearance:

  • Private page (link to the Telegram profile). The user needs to go to the application, then tap in the "Settings" menu and copy the username. If this line is empty, you can set a unique username in Latin for yourself. In order to use username as a link, you need to replace the dog icon with "t.me/".

  • Groups do not support URL invite features, so you can only manually add members to this chat. If the problem of how to give a link to a group is an edge, you will have to convert the chat into a supergroup. nine0094
  • Private supergroup or private channel. The link to such resources in Telegram looks like t.me/joinchat/ABCabc123, and only the administrator can get this combination. An important feature is that each admin has his own unique combination of letters and numbers for the same group/channel. To get a link, you need to go to the settings of the supergroup or channel and in the "Group Information" ("Channel Description") section, find and copy.

  • Public channels and supergroups have a link starting with "t.me/", a unique name for the link must come up with the creator of the public - it will be available to public members and all users when searching in the application. You can find the URL in the settings menu of the channel or supergroup. nine0094

Telegram private link: how to do it?

Private channels and supergroups can have multiple administrators; in this case, each admin will have a unique link. When asked how to find out your link in Telegram, for channel administrators and supergroups, the answer is the same:

  • Open a group / channel and click on the name.

  • Select Add Members.

  • Select "Invite to group (channel) via link.

  • Get a link by which any user can become a member of a group or chat.

For the PC version, open the group menu and select Manage Group

Click on "Create invitation link"

A link will appear in the group menu with which you can invite people even if they are not in your contact list, if you wish, you can cancel the previous link and create a new one. nine0003

How to copy a link in Telegram?

The main ways to copy a link:

  • in the Telegram application (both on a smartphone and on a PC), just click on the link - a message will appear that the information has been copied;
  • on a smartphone, you can use the standard copying method - by holding your finger on the text, wait for the URL to be highlighted in color (usually blue) and a pop-up menu appears. Select "Copy" from the menu.
  • On a PC, you can select a URL with the mouse. Then right-click and select "Copy".

After that, only one question remains to be solved - how to throw off the link? This can be done in a personal message or post a link to the public in Telegram or the Internet.

Telegram link shortening: what is it and how to do it?

Long random combinations of letters and numbers look careless, and besides, they do not inspire confidence. Administrators of private supergroups or private channels can resolve this issue by making the resource public. nine0003

If the administrator does not want publicity for the channel or supergroup, he has a way out - to hide the URL under the text, this can be done both with a link on the website on the Internet and in a Telegram post. This solution is also suitable for public channels / supergroups, if users want to format the text containing the URL.

How to make a link to Telegram on the site?

You can often see hyperlinks on websites or forums - highlighted text, when clicked on, a page opens. The user does not need special knowledge and skills - just use the ready-made formula: instead of TEXT, substitute the word / words that will be visible to visitors to the Internet page, and instead of HYPERLINK - URL to Telegram in the format http:// t.me/ABCabc123. For the hyperlink to work, you must follow the formula exactly. nine0003

  1. Web pages such as blogs or articles use HTML code:
    TEXT
  2. Code BB
    [url=HYPERLINK] TEXT [/url] is used on forums, in comments to sites, in e-mails

How to make a hyperlink in Telegram

To make a hyperlink for a post in a channel or in a message, you will have to use a bot, for example, @markdownbot. You should start by adding a bot to the Telegram channel with administrator rights. This will require:

  1. Open the channel and click on the name.
  2. Select the gear icon.
  3. Administrators section required
  4. Tap "Add administrator".
  5. Find @markdownbot in the search box and add it to the list of administrators.

After that, you can start working with the bot:

  • Open the bot and tap the Start button.
  • When you first start the bot, you will be asked to select a language. nine0079
  • Then you need to add a channel - click the "Add channel" button.
  • The bot will send a number in the reply message. These numbers must be copied and published in the channel (not forwarded, but copied)
  • Forward a digital message from a channel to the bot.

  • Channel added.

From now on you can use @markdownbot to create and publish posts in the group.


Learn more