Skip to content

Commit 6e85b24

Browse files
committed
Add more Walkthrough sections, reorganize Walkthroughs
1 parent 274b5a6 commit 6e85b24

42 files changed

Lines changed: 191 additions & 37 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/account-auto-deletion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Account Auto-Deletion
33
parent: /#walkthrough
44
walkthrough:
55
track: user
6-
order: 14
6+
order: 23
77
---
88

99
User clients can control when an inactive account is automatically deleted.

src/archived-chats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Archived Chats
33
parent: /#walkthrough
44
walkthrough:
55
track: user
6-
order: 11
6+
order: 4
77
---
88

99
User clients can move chats between the main and archived chat lists.

src/authorization-sessions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Authorization Sessions
33
parent: /#walkthrough
44
walkthrough:
55
track: user
6-
order: 5
6+
order: 21
77
---
88

99
User clients can view and remove the account's authorization sessions.

src/birthday.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: Birthday
3+
parent: /#walkthrough
4+
walkthrough:
5+
track: user
6+
order: 14
7+
---
8+
9+
User clients can set or remove the account's birthday.
10+
11+
## Setting a Birthday
12+
13+
Use {{ "setBirthday" |> m }} with the day, month, and optionally the year.
14+
15+
```ts
16+
await client.setBirthday({
17+
birthday: { day: 9, month: 9, year: 1995 },
18+
});
19+
```
20+
21+
## Removing the Birthday
22+
23+
Call {{ "setBirthday" |> m }} without a birthday.
24+
25+
```ts
26+
await client.setBirthday();
27+
```

src/blocked-users.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Blocked Users
33
parent: /#walkthrough
44
walkthrough:
55
track: user
6-
order: 6
6+
order: 18
77
---
88

99
User clients can block users and manage the account's block list.

src/bot-commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Bot Commands
33
parent: /#walkthrough
44
walkthrough:
55
track: bot
6-
order: 12
6+
order: 2
77
---
88

99
Bots can publish a list of commands that Telegram shows to users.

src/bot-profile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Bot Profile
33
parent: /#walkthrough
44
walkthrough:
55
track: bot
6-
order: 3
6+
order: 1
77
---
88

99
Bots can manage the name and descriptions Telegram shows to users.

src/bot-write-access.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Bot Write Access
33
parent: /#walkthrough
44
walkthrough:
55
track: bot
6-
order: 16
6+
order: 11
77
---
88

99
Bots can detect when a user allows them to send messages.

src/business-connections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Business Connections
33
parent: /#walkthrough
44
walkthrough:
55
track: bot
6-
order: 6
6+
order: 12
77
---
88

99
Bots can reply on behalf of Telegram Business accounts that connect to them.

src/chat-recommendations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Chat Recommendations
33
parent: /#walkthrough
44
walkthrough:
55
track: user
6-
order: 15
6+
order: 2
77
---
88

99
User clients can get recommended channels and find similar channels or bots.

0 commit comments

Comments
 (0)