Skip to content
  • Author Owner

    There are some functions working now:

    client.room_send_text(room_id, message) # send a text (also e2e -> see room verification).
    client.get_room_list() # dashboard room information

    Room verification:

    client.start_key_verification(device_id)
    # look at the other client and look at the emoticons
    # look at the emoticons here
    client.confirm_key_verification(uuid_of_verify_process)

    uuid_of_verify_process is something like 123adb45-4222-4222-9375-5da3897dc036 from the other client's event sent when you press the verify button on the other client

    Text based verification ("the old method")

    client.verify_device(device_id)

    many helpers, like

    client.joined_rooms()
    client.get_devices()
    client.download(mxcurl)
    client.thumbnail(mxcurl)
    client.room_get_bucket(room_id, bucket_id) # the last bucket is 'hot_bucket'!
    client.room_get_last_bucket_from(room_id, last_bucket_id) # like 'hot_bucket'

    Stuff like media data or buckets are stored in cache directory.

    Edited by Cy8aer
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment