messlidger.client

Attributes

Classes

Module Contents

messlidger.client.REQUEST_TIMEOUT = 60[source]
class messlidger.client.AndroidMQTT(session, state, loop=None, log=None, connect_token_hash=None, proxy_handler=None)[source]

Bases: maufbapi.AndroidMQTT

Parameters:

session (messlidger.session.Session)

session[source]
register_handlers()[source]
async __get_chatter(thread_key, fb_id=None)[source]
Parameters:
  • thread_key (maufbapi.types.mqtt.ThreadKey)

  • fb_id (Optional[int])

async on_fb_extended_message(evt)[source]
Parameters:

evt (maufbapi.types.mqtt.ExtendedMessage)

async on_fb_message(msg, **kwargs)[source]
Parameters:

msg (maufbapi.types.mqtt.Message)

async on_fb_message_read(receipt)[source]
Parameters:

receipt (maufbapi.types.mqtt.ReadReceipt)

async on_fb_typing(notification)[source]
Parameters:

notification (maufbapi.types.mqtt.TypingNotification)

async on_fb_user_read(receipt)[source]
Parameters:

receipt (maufbapi.types.mqtt.OwnReadReceipt)

async on_fb_reaction(reaction)[source]
Parameters:

reaction (maufbapi.types.mqtt.Reaction)

async on_fb_unsend(unsend)[source]
Parameters:

unsend (maufbapi.types.mqtt.UnsendMessage)

async on_fb_event(evt)[source]