Skip to content

Commit 2efe399

Browse files
ernadoclaude
andcommitted
docs(roadmap): mark Phase 3 outgoing methods complete
Tick SendMessage, the media sends, SendChatAction, the other sends, keyboards both ways, forward/copy/delete and chat-id resolution. Note the deferred items (EditMessageMedia, explicit-entity sends, file_id/URL album items). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 07853cc commit 2efe399

1 file changed

Lines changed: 20 additions & 12 deletions

File tree

docs/roadmap.md

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,26 @@ The hand-written Bot API surface. This is the bulk of the work. **Done** on
5757

5858
## Phase 3 — Outgoing methods (translation)
5959

60-
Re-point the kept translation logic from `oas.*` to our types, then fill stubs.
61-
62-
-`SendMessage` (text + entities/HTML) — re-point `send.go`
63-
- ☐ Media sends: `SendPhoto`, `SendDocument`, `SendVideo`, `SendAudio`,
64-
`SendVoice`, `SendAnimation`, `SendVideoNote`, `SendMediaGroup`,
65-
`SendSticker` (currently stubbed — uploader + `fileid`)
66-
-`SendContact`, `SendDice`, `SendVenue`, `SendLocation`, `SendPoll`
67-
-`SendChatAction` (already mapped)
68-
- ☐ Keyboards both directions (`markup.go`)
69-
- ☐ Edits: `EditMessageText/Caption/Media/ReplyMarkup`
70-
-`ForwardMessage(s)`, `CopyMessage(s)`, `DeleteMessage(s)`
71-
- ☐ Peer/chat-id resolution hardening (`ResolveTDLibID`, access-hash misses)
60+
Hand-written over the gotd sender on our types. **Done** on `main`: methods on
61+
`*Bot` with shared functional `SendOption`s; pure translation
62+
(`markup_to_tg.go`, `entities.go`, `errors_map.go`, `convert.go`) is unit
63+
tested. Live-Telegram paths are compile-/lint-verified.
64+
65+
-`SendMessage` (text + HTML/MarkdownV2/Markdown) — `send.go`
66+
- ☑ Media sends: `SendPhoto`, `SendDocument`, `SendVideo`, `SendAudio`,
67+
`SendVoice`, `SendAnimation`, `SendVideoNote`, `SendSticker` (file_id via
68+
`fileid`, URL, or upload via the uploader); `SendMediaGroup` (uploaded albums)
69+
-`SendContact`, `SendDice`, `SendVenue`, `SendLocation`, `SendPoll`
70+
-`SendChatAction`
71+
- ☑ Keyboards both directions (`markup_to_tg.go` out, `convert.go` in)
72+
- ◐ Edits: `EditMessageText/Caption/ReplyMarkup` done; `EditMessageMedia` TODO
73+
-`ForwardMessage`, `CopyMessage`, `DeleteMessage(s)`
74+
- ◐ Peer/chat-id resolution (`resolve.go`: TDLib id + @username); access-hash
75+
miss hardening continues as real traffic exposes cases
76+
77+
Deferred within Phase 3: explicit-entity sends (parse modes cover formatting);
78+
`SendMediaGroup` with file_id/URL items (only uploads compose through the
79+
high-level album API); `EditMessageMedia`.
7280

7381
## Phase 4 — Incoming: updates & handler framework
7482

0 commit comments

Comments
 (0)