slidge.plugins.telegram.client#

Module Contents#

Classes#

class slidge.plugins.telegram.client.TelegramClient(session, **kw)[source]#

Bases: aiotdlib.Client

Parameters

session (slidge.plugins.telegram.session.Session) –

async dispatch_update(_self, update)[source]#
Parameters

update (aiotdlib.api.Update) –

async handle_NewMessage(update)[source]#
Parameters

update (aiotdlib.api.UpdateNewMessage) –

async handle_UserStatus(update)[source]#
Parameters

update (aiotdlib.api.UpdateUserStatus) –

async handle_ChatReadOutbox(update)[source]#
Parameters

update (aiotdlib.api.UpdateChatReadOutbox) –

async handle_ChatAction(action)[source]#
Parameters

action (aiotdlib.api.UpdateChatAction) –

async handle_ChatReadInbox(action)[source]#
Parameters

action (aiotdlib.api.UpdateChatReadInbox) –

async handle_MessageContent(action)[source]#
Parameters

action (aiotdlib.api.UpdateMessageContent) –

async handle_User(action)[source]#
Parameters

action (aiotdlib.api.UpdateUser) –

async handle_MessageInteractionInfo(update)[source]#
Parameters

update (aiotdlib.api.UpdateMessageInteractionInfo) –

async handle_DeleteMessages(update)[source]#
Parameters

update (aiotdlib.api.UpdateDeleteMessages) –

async handle_MessageSendSucceeded(update)[source]#
Parameters

update (aiotdlib.api.UpdateMessageSendSucceeded) –

async is_private_chat(chat_id)[source]#
Parameters

chat_id (int) –