> For the complete documentation index, see [llms.txt](https://docs.nextcli.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nextcli.com/en/cloud/telegram-bot/telegram-bot-notification-template-sharing.md).

# Telegram Bot Notification Template Sharing

{% hint style="success" %}
**Telegram BOT Related Code**

The code in this article is only applicable to Telegram bot configurations on [https://Cloud.NextCLi.com](https://cloud.nextcli.com/)
{% endhint %}

> #### [`/id`](https://t.me/tghelp?start\&text=/id) — Get the current Conversation Chat ID, [Test This command>>](https://t.me/tghelp?start\&text=/id)
>
> ```
> {{if eq .tg.group_id 0}}
> 👤<b><u>Current is a Private Chat</u></b>
> Current Chat ID: <code>{{.tg.id}}</code>
> Current User ID: <code>{{.tg.id}}</code>
> Current User Name: <code>{{.tg.name}}</code>
> Current User NickName: <code>{{.tg.nickname}}</code>
> {{else}}
> 👥<b><u>Current is a Group Chat</u></b>
> Current Chat ID: <code>{{.tg.group_id}}</code>
> Current Group ID: <code>{{.tg.group_id}}</code>
>
> Your User ID: <code>{{.tg.id}}</code>
> Current User Name: <code>{{.tg.name}}</code>
> Current User NickName: <code>{{.tg.nickname}}</code>
> {{end}}
> ```

> #### [CryptoCurrency Notification Bot](/en/cloud/telegram-bot/cryptocurrency-notification-bot.md)
>
> View Example: <https://t.me/cryptopush>
>
> #### Income Notification Content
>
> ```html
> ✅✅✅ <b>#Income</b>
> <b>Amount</b>: <a target="_blank" href="{{.transaction_hash_link}}"><b>{{.amount}}</b></a> ${{.token}} #{{.network}} 
> <b>From</b>: <a target="_blank" href="{{.address_from_link}}">{{.address_from}}</a> <code>{{.address_from_name}}</code>
> <b>To</b>: <a target="_blank" href="{{.address_to_link}}">{{.address_to}}</a> <code>{{.address_to_name}}</code>
> <b>Tx Hash</b>: {{.transaction_hash_short}} <a target="_blank" href="{{.transaction_hash_link}}"><u>View</u></a>
> Time: {{.block_time}} (UTC+8)
> On‑chain Memo: {{.note}}
> ```
>
> #### Expense Notification Content
>
> ```
> ⁉️⁉️⁉️ <b>#Expense</b>
> <b>Amount</b>: <a target="_blank" href="{{.transaction_hash_link}}"><b>{{.amount}}</b></a> ${{.token}} #{{.network}} 
> <b>From</b>: <a target="_blank" href="{{.address_from_link}}">{{.address_from}}</a> <code>{{.address_from_name}}</code>
> <b>To</b>: <a target="_blank" href="{{.address_to_link}}">{{.address_to}}</a> <code>{{.address_to_name}}</code>
> <b>Tx Hash</b>: {{.transaction_hash_short}} <a target="_blank" href="{{.transaction_hash_link}}"><u>View</u></a>
> Time: {{.block_time}} (UTC+8)
> On‑chain Memo: {{.note}}
> ```

End.
