电报如何显示某些网站的图标? [英] How does telegram shows the Icon of some websites?

查看:268
本文介绍了电报如何显示某些网站的图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我与我的朋友分享链接时,我正在使用Windows上的电报及其在线版本。Telegram显示该邮件中某些网站的图标或徽标:

I am working with telegram on windows and its online version on web.telegram.org, when I share a link with my friend Telegram shows the icon or logo of some websites in that message:

图片

第一个网站是 vajehyab.com ,它还有一个 favicon (但不显示该网站图标),第二个是Stackoverflow,当你看到stackoverflow和

The first website is vajehyab.com and it has a favicon too (But do not showing that website icon), and the second is Stackoverflow and as you see the logo of stackoverflow and a litle description shows beside it.

网站做某事或有一些元数据允许电报访问他们的标志,或者它是静态程序形式电报程序员和集

Does websites do something or having some metadata that allow Telegram to access their logo, or it is an static program form Telegram programmers and the set some famous websites logo?

推荐答案

只需将这些标签添加到您的网站

Just add these tags to your website

<meta property="og:title" content="Title" />
<meta property="og:site_name" content="Site name"/>
<meta property="og:description" content="Description" />
<meta property="og:image" content="Link to your logo" />

这篇关于电报如何显示某些网站的图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆