BasicGroupKtx - libtd-ktx

Kotlin Coroutines extensions for Telegram API TDLib (Telegram Database library)


libtd-ktx / kotlinx.telegram.extensions / BasicGroupKtx

BasicGroupKtx

interface BasicGroupKtx : BaseKtx

Interface for access TdApi.BasicGroup extension functions. Can be used alongside with other extension interfaces of the package. Must contain TelegramFlow instance field to access its functionality

Properties

api Instance of the TelegramFlow connecting extensions to the Telegram Clientabstract val api: TelegramFlow

Functions

createChat Suspend function, which returns an existing chat corresponding to a known basic group.open suspend fun BasicGroup.createChat(force: Boolean): Chat
get Suspend function, which returns information about a basic group by its identifier. This is an offline request if the current user is not a bot.open suspend fun BasicGroup.get(): BasicGroup
getFullInfo Suspend function, which returns full information about a basic group by its identifier.open suspend fun BasicGroup.getFullInfo(): BasicGroupFullInfo

Inheritors

TelegramKtx Interface for access all Telegram objects extension functions. Contains 182 extensionsinterface TelegramKtx : BasicGroupKtx, CallKtx, ChatKtx, FileKtx, MessageKtx, NotificationGroupKtx, ProxyKtx, SecretChatKtx, SupergroupKtx, UserKtx, CommonKtx