Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nullcookies/963140415583eb7abbf3fb2f2de6e91a to your computer and use it in GitHub Desktop.
Save nullcookies/963140415583eb7abbf3fb2f2de6e91a to your computer and use it in GitHub Desktop.
Telegram widget demo
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha256-NJWeQ+bs82iAeoT5Ktmqbi3NXwxcHlfaVejzJI2dklU=" crossorigin="anonymous" />
<!-- SEO -->
<title>Hello, world!</title>
</head>
<body>
<!-- Your content -->
<div class="container">
<h1>Hello, world!</h1>
<p>
<script async src="https://telegram.org/js/telegram-widget.js?4" data-telegram-post="durov/76" data-width="100%"></script>
</p>
<p><script async src="https://telegram.org/js/telegram-widget.js?4" data-telegram-post="durov/83" data-width="100%"></script></p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment