Sharing Button #
A Telegram Sharing Button is an easy way to let users forward content from your website or app to their friends, Channels or Saved Messages on Telegram.
When a user presses the button, Telegram asks them to choose a chat, group or channel where your link will be shared. You can also add some text that describes the link – the user will be able to edit it before sending the message.
Demo #
Usage #
vue
<script setup>
import { ButtonShare } from 'televue'
const pageUrl = location.href
</script>
<template>
<ButtonShare
:url="pageUrl"
size="large"
comment="Check this out!"
/>
</template>
Props #
Property | Type | Default | Options |
---|---|---|---|
url | string | Required prop | |
size | string | 'medium' | 'medium' or 'large' |
comment | string | '' | |
hide-text | boolean | false |
Try an official configurator to learn more about widget options