telegix 1.1.3-a1 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -942,7 +942,7 @@ Modern Telegram bots frequently display dashboard and status metrics as **sleek
|
|
|
942
942
|
- 📐 **Vertical Column Divider Line** cleanly separating labels (left) and values (right)
|
|
943
943
|
- ➖ **Horizontal Row Divider Lines** between every item
|
|
944
944
|
- 🏷️ **Header Banner** with distinct background (`#1c2836`) and bold title
|
|
945
|
-
- 🔵 **Telegram Blue Links** for handles (e.g. `@
|
|
945
|
+
- 🔵 **Telegram Blue Links** for handles (e.g. `@seventynn`) and protocol URLs
|
|
946
946
|
|
|
947
947
|
```javascript
|
|
948
948
|
import { Telegix, Table } from 'telegix';
|
|
@@ -1021,7 +1021,7 @@ await ctx.replyWithSystemStatus({
|
|
|
1021
1021
|
await ctx.replyWithUserProfile({
|
|
1022
1022
|
title: '👑 VIP MEMBERSHIP',
|
|
1023
1023
|
subtitle: 'Tier 3 Account',
|
|
1024
|
-
username: '@
|
|
1024
|
+
username: '@seventynn',
|
|
1025
1025
|
status: 'Verified Developer',
|
|
1026
1026
|
});
|
|
1027
1027
|
```
|
|
@@ -1048,7 +1048,7 @@ Stack multiple cards (such as SYSTEM and PROFILE) in a single message or render
|
|
|
1048
1048
|
bot.command('dashboard', async (ctx) => {
|
|
1049
1049
|
const sysCard = Table.systemStatus();
|
|
1050
1050
|
const profileCard = Table.userProfile({
|
|
1051
|
-
username: ctx.from?.username ? `@${ctx.from.username}` : '@
|
|
1051
|
+
username: ctx.from?.username ? `@${ctx.from.username}` : '@seventynn',
|
|
1052
1052
|
});
|
|
1053
1053
|
|
|
1054
1054
|
// Sends both cards stacked together cleanly in chat
|