Summary
Entry point to client API MtProto protocol
- Namespace
- OpenTl
.ClientApi - Interfaces
-
- IDisposable
graph TD
Interface0["IDisposable"]-.->Type
Type["IClientApi"]
class Type type-node
Syntax
public interface IClientApi : IDisposable
Properties
Name | Value | Summary |
---|---|---|
AuthService | IAuthService |
Registration and authentication
|
ContactsService | IContactsService |
Working with contacts
|
Custom |
I |
Send a custom requests
|
FileService | IFileService |
Working with files
|
HelpService | IHelpService |
Help requests
|
MessagesService | IMessagesService |
Messages and chats
|
UpdatesService | IUpdatesService |
Automatic and manual updates
|
UsersService | IUsersService |
Working with users
|
Methods
Name | Value | Summary |
---|---|---|
KeepAliveConnection |
void |
The server closes the connection if the client does not send requests for some time. This method sends an
inquiry to the server every minute and keeps the connection open
|