Skip to content

Instantly share code, notes, and snippets.



Last active May 24, 2020
What would you like to do?
Minimal page structure/sample to trigger Telegram's IV template for
<!DOCTYPE html>
<meta property="og:site_name" content="$site_name">
<meta property="og:description" content="$description">
<meta property="article:author" content="$author">
<!--$image_url is set using og:image property-->
<meta property="og:image" content="">
<meta property="telegram:channel" content="@cor_bee">
<!--site_verification property must be present, but could be empty (no IVBot-side verification for now?)-->
<meta property="tg:site_verification" content="g7j8/rPFXfhyrq5q0QQV7EsYWv4=">
<!--published_time property must be present, but you could leave content empty if no $published_date is wanted-->
<meta property="article:published_time" content="2020-02-03T23:10:04.654Z">
<div class="article">
<article class="article__content">
<!--if first element in article is figure it's going to be set/used as $cover-->
<img src="" />
<p>Hello world</p>
<!--Your IV-code goes here-->

This comment has been minimized.

Copy link
Owner Author

@fishchev fishchev commented Apr 3, 2020

Using this you could have complete control of IV generation, except for $subtitle, $kicker, $author_url and $document_url properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment