-
Notifications
You must be signed in to change notification settings - Fork 67
How to make it so that tdlib operates like a daemon? #139
Copy link
Copy link
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Is there any sample in C# such that tdlib operates like a daemon and continues to update db.sqlite with new data as updated information is received?
Somehow this example from tdlib can do client_manager_->receive(10).
void loop() {
while (true) {
if (need_restart_) {
restart();
} else if (!are_authorized_) {
process_response(client_manager_->receive(10));
} else {Is there a way to mirror this Using strongly typed APIs?
Or do I have to use the untyped version to be able to make some sort of daemon approach?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested