Package-level declarations

Types

Link copied to clipboard
interface TdLibClient
Link copied to clipboard
Link copied to clipboard
class TdLibFacade(client: TdLibClient)
Link copied to clipboard

Maps TDLib API objects onto the unified MessengerProtocol domain model.

Link copied to clipboard
Link copied to clipboard
class TdLibNotAvailableException(message: String, cause: Throwable? = null) : Exception
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Singleton
class TelegramProtocol @Inject constructor(context: Context, networkGuard: NetworkGuard, repository: MessengerRepository, apiCredentials: TelegramApiCredentials) : MessengerProtocol

TDLib adapter implementing MessengerProtocol. Auth follows TdApi.UpdateAuthorizationState; chat/message sync uses the full TDLib update stream.