It does sync, messages, send, search (FTS5), stickers, forum topics, and has socket IPC for automation. Install via cargo or homebrew. Seems like it'd fit nicely into what you're building.
Looks like a nice library, thanks for sharing! I know Telegram bots are very popular and that the API story is quite nice, but I have tended to avoid Telegram. My preference would be to go through Signal. I just started looking into my options on this yesterday. Any particular reason why you chose Telegram?