| Sign in as a user | Telegram.PhoneNumber | Phone-number authentication: OnAuthenticationCode asks for the login code, OnAuthenticationPassword handles the 2FA password and OnRegisterUser covers new accounts. |
| Sign in as a bot | Telegram.BotToken | The same component drives bot accounts through TDLib, with the full client surface rather than the Bot API subset. |
| API credentials | Telegram.API.ApiId, Telegram.API.ApiHash | Issued for your application at my.telegram.org. |
| Connection state | OnConnectionStatus, OnAuthorizationStatus | Raw TDLib state strings, such as authorizationStateReady. |
| Send text | SendTextMessage, SendRichTextMessage | Plain and rich text to any chat id. |
| Send media | SendDocumentMessage, SendPhotoMessage, SendVideoMessage | Files, photos and videos, with SendMessageAlbum for grouped media. |
| Payments | SendInvoiceMessage, AnswerPreCheckoutQuery, SendPaymentForm | The Telegram payments flow, end to end. |
| Edit and manage | EditTextMessage, DeleteMessages, ForwardMessages, PinChatMessage | The message lifecycle after sending. |
| Chats and groups | CreatePrivateChat, CreateNewBasicGroupChat, CreateNewSupergroupChat, JoinChat, JoinChatByInviteLink | Create and join conversations programmatically. |
| Secret chats | CreateNewSecretChat | TDLib handles Telegram secret chats, the end-to-end encrypted kind. |
| Search | SearchChats, SearchMessages, SearchContacts, SearchPublicChats | Across your chats, messages, contacts and public channels. |
| Files | DownloadFile | Downloads any file TDLib references by id. |
| Inline keyboards | AnswerCallbackQuery, OnNewCallbackQuery | Callback and URL buttons attached to messages you send. |
| Reply keyboards | Keyboard markup on the send methods | Text buttons, request-location buttons and request-phone-number buttons. |
| Inline queries | AnswerInlineQuery | Answer inline queries addressed to your bot. |
| Message events | OnMessageText, OnMessageDocument, OnMessagePhoto, OnMessageVideo | Typed inbound messages, plus OnMessageSponsored and OnNewChat. |
| Raw escape hatch | SendCustomRequest, OnEvent | Send any TDLib JSON request and observe every raw update. |
| Proxies | HTTP, SOCKS5, MTProto | Route the TDLib connection through a proxy. |