messagesResponse property

Map<String, Object?> messagesResponse
getter/setter pair

Implementation

static Map<String, Object?> messagesResponse = {
  'start': 't47429-4392820_219380_26003_2265',
  'end': 't47409-4357353_219380_26003_2265',
  'chunk': [
    {
      'content': {
        'body': 'This is an example text message',
        'msgtype': 'm.text',
        'format': 'org.sdn.custom.html',
        'formatted_body': '<b>This is an example text message</b>'
      },
      'type': 'm.room.message',
      'event_id': '3143273582443PhrSn:example.org',
      'room_id': '!1234:example.com',
      'sender': '@example:example.org',
      'origin_server_ts': 1432735824653,
      'unsigned': {'age': 1234}
    },
    {
      'content': {'name': 'The room name'},
      'type': 'm.room.name',
      'event_id': '2143273582443PhrSn:example.org',
      'room_id': '!1234:example.com',
      'sender': '@example:example.org',
      'origin_server_ts': 1432735824653,
      'unsigned': {'age': 1234},
      'state_key': ''
    },
    {
      'content': {
        'body': 'Gangnam Style',
        'url': 'mxc://example.org/a526eYUSFFxlgbQYZmo442',
        'info': {
          'thumbnail_url': 'mxc://example.org/FHyPlCeYUSFFxlgbQYZmoEoe',
          'thumbnail_info': {
            'mimetype': 'image/jpeg',
            'size': 46144,
            'w': 300,
            'h': 300
          },
          'w': 480,
          'h': 320,
          'duration': 2140786,
          'size': 1563685,
          'mimetype': 'video/mp4'
        },
        'msgtype': 'm.video'
      },
      'type': 'm.room.message',
      'event_id': '1143273582443PhrSn:example.org',
      'room_id': '!1234:example.com',
      'sender': '@example:example.org',
      'origin_server_ts': 1432735824653,
      'unsigned': {'age': 1234}
    }
  ],
  'state': <Map<String, Object?>>[],
};