From e63a037a323221e24ba0f422d8d81ee77f0b3ce0 Mon Sep 17 00:00:00 2001 From: Ryan Huber Date: Wed, 1 Feb 2017 11:44:02 -0800 Subject: json not str(dict) --- _pytest/data/http/rtm.start | 861 --------------------------------------- _pytest/data/http/rtm.start.json | 861 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 861 insertions(+), 861 deletions(-) delete mode 100644 _pytest/data/http/rtm.start create mode 100644 _pytest/data/http/rtm.start.json (limited to '_pytest/data/http') diff --git a/_pytest/data/http/rtm.start b/_pytest/data/http/rtm.start deleted file mode 100644 index d9cc464..0000000 --- a/_pytest/data/http/rtm.start +++ /dev/null @@ -1,861 +0,0 @@ -{ - "ok": true, - "self": { - "id": "U3ZKBBDL5", - "name": "bob", - "prefs": { - "highlight_words": "", - "user_colors": "", - "color_names_in_list": true, - "growls_enabled": true, - "tz": "America\/Los_Angeles", - "push_dm_alert": true, - "push_mention_alert": true, - "push_everything": true, - "push_show_preview": true, - "push_idle_wait": 2, - "push_sound": "b2.mp3", - "push_loud_channels": "", - "push_mention_channels": "", - "push_loud_channels_set": "", - "threads_everything": false, - "email_alerts": "instant", - "email_alerts_sleep_until": 0, - "email_misc": false, - "email_weekly": true, - "welcome_message_hidden": false, - "all_channels_loud": true, - "loud_channels": "", - "never_channels": "", - "loud_channels_set": "", - "search_sort": "timestamp", - "expand_inline_imgs": true, - "expand_internal_inline_imgs": true, - "expand_snippets": false, - "posts_formatting_guide": true, - "seen_welcome_2": true, - "seen_ssb_prompt": false, - "spaces_new_xp_banner_dismissed": false, - "search_only_my_channels": false, - "search_only_current_team": false, - "emoji_mode": "default", - "emoji_use": "", - "has_invited": false, - "has_uploaded": false, - "has_created_channel": false, - "has_searched": false, - "search_exclude_channels": "", - "messages_theme": "default", - "webapp_spellcheck": true, - "no_joined_overlays": false, - "no_created_overlays": false, - "dropbox_enabled": false, - "seen_domain_invite_reminder": false, - "seen_member_invite_reminder": false, - "mute_sounds": false, - "arrow_history": false, - "tab_ui_return_selects": true, - "obey_inline_img_limit": true, - "new_msg_snd": "knock_brush.mp3", - "require_at": false, - "ssb_space_window": "", - "mac_ssb_bounce": "", - "mac_ssb_bullet": true, - "expand_non_media_attachments": true, - "show_typing": true, - "pagekeys_handled": true, - "last_snippet_type": "", - "display_real_names_override": 0, - "display_preferred_names": true, - "time24": false, - "enter_is_special_in_tbt": false, - "graphic_emoticons": false, - "convert_emoticons": true, - "ss_emojis": true, - "sidebar_behavior": "", - "seen_onboarding_start": false, - "onboarding_cancelled": true, - "seen_onboarding_slackbot_conversation": false, - "seen_onboarding_channels": false, - "seen_onboarding_direct_messages": false, - "seen_onboarding_invites": false, - "seen_onboarding_search": false, - "seen_onboarding_recent_mentions": false, - "seen_onboarding_starred_items": false, - "seen_onboarding_private_groups": false, - "onboarding_slackbot_conversation_step": 0, - "dnd_enabled": true, - "dnd_start_hour": "22:00", - "dnd_end_hour": "08:00", - "mark_msgs_read_immediately": true, - "start_scroll_at_oldest": true, - "snippet_editor_wrap_long_lines": false, - "ls_disabled": false, - "sidebar_theme": "default", - "sidebar_theme_custom_values": "", - "f_key_search": false, - "k_key_omnibox": true, - "speak_growls": false, - "mac_speak_voice": "com.apple.speech.synthesis.voice.Alex", - "mac_speak_speed": 250, - "at_channel_suppressed_channels": "", - "push_at_channel_suppressed_channels": "", - "prompted_for_email_disabling": false, - "full_text_extracts": false, - "no_text_in_notifications": false, - "muted_channels": "", - "no_macelectron_banner": false, - "no_macssb1_banner": false, - "no_macssb2_banner": false, - "no_winssb1_banner": false, - "no_invites_widget_in_sidebar": false, - "no_omnibox_in_channels": false, - "k_key_omnibox_auto_hide_count": 0, - "prev_next_btn": false, - "hide_user_group_info_pane": false, - "mentions_exclude_at_user_groups": false, - "privacy_policy_seen": true, - "enterprise_migration_seen": true, - "last_tos_acknowledged": "tos_oct2016", - "search_exclude_bots": false, - "load_lato_2": false, - "fuller_timestamps": false, - "last_seen_at_channel_warning": 0, - "msg_preview": false, - "msg_preview_persistent": true, - "emoji_autocomplete_big": false, - "winssb_run_from_tray": true, - "winssb_window_flash_behavior": "idle", - "two_factor_auth_enabled": false, - "two_factor_type": null, - "two_factor_backup_type": null, - "hide_hex_swatch": false, - "client_logs_pri": "", - "enhanced_debugging": false, - "thin_channel_membership_fe": false, - "flannel_server_pool": "random", - "mentions_exclude_at_channels": true, - "confirm_clear_all_unreads": true, - "confirm_user_marked_away": true, - "box_enabled": false, - "seen_single_emoji_msg": false, - "confirm_sh_call_start": true, - "preferred_skin_tone": "", - "show_all_skin_tones": false, - "separate_private_channels": false, - "whats_new_read": 1485969645, - "hotness": false, - "frecency_jumper": "", - "frecency_ent_jumper": "", - "jumbomoji": true, - "newxp_seen_last_message": "1", - "attachments_with_borders": false, - "show_memory_instrument": false, - "enable_unread_view": false, - "seen_unread_view_coachmark": false, - "seen_calls_video_beta_coachmark": false, - "seen_calls_video_ga_coachmark": false, - "seen_calls_ss_window_coachmark": false, - "measure_css_usage": false, - "enable_react_emoji_picker": true, - "seen_replies_coachmark": false, - "seen_custom_status_badge": false, - "all_unreads_sort_order": "alphabetical", - "locale": "en_US", - "gdrive_authed": true, - "gdrive_enabled": true, - "seen_gdrive_coachmark": false, - "channel_sort": "{\"is_custom_sorted\":false, \"priority_display\":false, \"priority_type\":\"\", \"sorts\":[]}", - "overloaded_message_enabled": true, - "seen_highlights_coachmark": false, - "seen_highlights_arrows_coachmark": false, - "a11y_font_size": "normal", - "a11y_animations": true, - "intro_to_apps_message_seen": false - }, - "created": 1485969645, - "manual_presence": "active" - }, - "team": { - "id": "T3YS5EAL9", - "name": "weeslacktest", - "email_domain": "", - "domain": "weeslacktest", - "msg_edit_window_mins": -1, - "prefs": { - "invites_only_admins": false, - "default_channels": [ - "C407ABS94", - "C3ZEQAYN7" - ], - "display_email_addresses": false, - "hide_referers": true, - "msg_edit_window_mins": -1, - "allow_message_deletion": true, - "calling_app_name": "Slack", - "allow_calls": true, - "display_real_names": false, - "who_can_at_everyone": "regular", - "who_can_at_channel": "ra", - "who_can_create_channels": "regular", - "who_can_archive_channels": "regular", - "who_can_create_groups": "ra", - "who_can_post_general": "ra", - "who_can_kick_channels": "admin", - "who_can_kick_groups": "regular", - "retention_type": 0, - "retention_duration": 0, - "group_retention_type": 0, - "group_retention_duration": 0, - "dm_retention_type": 0, - "dm_retention_duration": 0, - "file_retention_duration": 0, - "file_retention_type": 0, - "allow_retention_override": true, - "require_at_for_mention": false, - "default_rxns": [ - "simple_smile", - "thumbsup", - "white_check_mark", - "heart", - "eyes" - ], - "team_handy_rxns": { - "restrict": false, - "list": [ - { - "name": "slightly_smiling_face", - "title": "I'm happy!" - }, - { - "name": "+1", - "title": "good!" - }, - { - "name": "white_check_mark", - "title": "done!" - }, - { - "name": "heart", - "title": "love it!" - }, - { - "name": "eyes", - "title": "looking..." - } - ] - }, - "channel_handy_rxns": null, - "compliance_export_start": 0, - "warn_before_at_channel": "always", - "disallow_public_file_urls": false, - "who_can_create_delete_user_groups": "admin", - "who_can_edit_user_groups": "admin", - "who_can_change_team_profile": "admin", - "allow_shared_channels": false, - "who_has_team_visibility": "ra", - "disable_file_uploads": "allow_all", - "disable_file_editing": false, - "disable_file_deleting": false, - "who_can_create_shared_channels": "admin", - "who_can_manage_shared_channels": { - "type": [ - "admin" - ] - }, - "who_can_post_in_shared_channels": { - "type": [ - "regular", - "ra" - ] - }, - "allow_shared_channel_perms_override": false, - "gdrive_enabled_team": true, - "dnd_enabled": true, - "dnd_start_hour": "22:00", - "dnd_end_hour": "08:00", - "auth_mode": "normal", - "who_can_manage_integrations": { - "type": [ - "regular" - ] - }, - "invites_limit": true - }, - "icon": { - "image_34": "https:\/\/a.slack-edge.com\/0180\/img\/avatars-teams\/ava_0014-34.png", - "image_44": "https:\/\/a.slack-edge.com\/0180\/img\/avatars-teams\/ava_0014-44.png", - "image_68": "https:\/\/a.slack-edge.com\/66f9\/img\/avatars-teams\/ava_0014-68.png", - "image_88": "https:\/\/a.slack-edge.com\/66f9\/img\/avatars-teams\/ava_0014-88.png", - "image_102": "https:\/\/a.slack-edge.com\/66f9\/img\/avatars-teams\/ava_0014-102.png", - "image_132": "https:\/\/a.slack-edge.com\/66f9\/img\/avatars-teams\/ava_0014-132.png", - "image_230": "https:\/\/a.slack-edge.com\/bfaba\/img\/avatars-teams\/ava_0014-230.png", - "image_default": true - }, - "over_storage_limit": false, - "plan": "", - "avatar_base_url": "https:\/\/ca.slack-edge.com\/", - "over_integrations_limit": true - }, - "latest_event_ts": "1485976462.000000", - "channels": [ - { - "id": "C407ABS94", - "name": "general", - "is_channel": true, - "created": 1485969592, - "creator": "U407ABLLW", - "is_archived": false, - "is_general": true, - "has_pins": false, - "is_member": true, - "last_read": "1485976236.000019", - "latest": { - "type": "message", - "subtype": "file_comment", - "text": "<@U407ABLLW|alice> commented on <@U407ABLLW|alice>\u2019s file : first comment! now i edited it.", - "file": { - "id": "F3ZJQTA66", - "created": 1485975955, - "timestamp": 1485975955, - "name": "1x1.png", - "title": "1x1.png", - "mimetype": "image\/png", - "filetype": "png", - "pretty_type": "PNG", - "user": "U407ABLLW", - "editable": false, - "size": 68, - "mode": "hosted", - "is_external": false, - "external_type": "", - "is_public": true, - "public_url_shared": false, - "display_as_bot": false, - "username": "", - "url_private": "https:\/\/files.slack.com\/files-pri\/T3YS5EAL9-F3ZJQTA66\/1x1.png", - "url_private_download": "https:\/\/files.slack.com\/files-pri\/T3YS5EAL9-F3ZJQTA66\/download\/1x1.png", - "thumb_64": "https:\/\/files.slack.com\/files-tmb\/T3YS5EAL9-F3ZJQTA66-8ab528dd77\/1x1_64.png", - "thumb_80": "https:\/\/files.slack.com\/files-tmb\/T3YS5EAL9-F3ZJQTA66-8ab528dd77\/1x1_80.png", - "thumb_360": "https:\/\/files.slack.com\/files-tmb\/T3YS5EAL9-F3ZJQTA66-8ab528dd77\/1x1_360.png", - "thumb_360_w": 1, - "thumb_360_h": 1, - "thumb_160": "https:\/\/files.slack.com\/files-tmb\/T3YS5EAL9-F3ZJQTA66-8ab528dd77\/1x1_160.png", - "image_exif_rotation": 1, - "original_w": 1, - "original_h": 1, - "permalink": "https:\/\/weeslacktest.slack.com\/files\/alice\/F3ZJQTA66\/1x1.png", - "permalink_public": "https:\/\/slack-files.com\/T3YS5EAL9-F3ZJQTA66-5d747593d2", - "channels": [ - "C407ABS94" - ], - "groups": [], - "ims": [], - "comments_count": 1 - }, - "comment": { - "id": "Fc3ZMDRQLV", - "created": 1485976236, - "timestamp": 1485976236, - "user": "U407ABLLW", - "is_intro": false, - "comment": "first comment! now i edited it.", - "channel": "" - }, - "is_intro": false, - "ts": "1485976236.000019" - }, - "unread_count": 0, - "unread_count_display": 0, - "members": [ - "U3ZKBBDL5", - "U407ABLLW", - "U4096CBHC" - ], - "topic": { - "value": "Company-wide announcements and work-based matters", - "creator": "", - "last_set": 0 - }, - "purpose": { - "value": "This channel is for team-wide communication and announcements. All team members are in this channel.", - "creator": "", - "last_set": 0 - }, - "previous_names": [] - }, - { - "id": "C3ZM2GMGU", - "name": "made-to-be-archived", - "is_channel": true, - "created": 1485976107, - "creator": "U407ABLLW", - "is_archived": false, - "is_general": false, - "has_pins": false, - "is_member": false, - "previous_names": [] - }, - { - "id": "C3ZEQAYN7", - "name": "random", - "is_channel": true, - "created": 1485969592, - "creator": "U407ABLLW", - "is_archived": false, - "is_general": false, - "has_pins": false, - "is_member": true, - "last_read": "1485969592.000002", - "latest": { - "user": "U4096CBHC", - "text": "<@U4096CBHC|charles> has joined the channel", - "type": "message", - "subtype": "channel_join", - "ts": "1485975606.000004" - }, - "unread_count": 2, - "unread_count_display": 0, - "members": [ - "U3ZKBBDL5", - "U407ABLLW", - "U4096CBHC" - ], - "topic": { - "value": "Non-work banter and water cooler conversation", - "creator": "", - "last_set": 0 - }, - "purpose": { - "value": "A place for non-work-related flimflam, faffing, hodge-podge or jibber-jabber you'd prefer to keep out of more focused work-related channels.", - "creator": "", - "last_set": 0 - }, - "previous_names": [] - }, - { - "id": "C3ZM8JTD3", - "name": "some-channel2-renamed", - "is_channel": true, - "created": 1485975747, - "creator": "U407ABLLW", - "is_archived": false, - "is_general": false, - "has_pins": false, - "is_member": false, - "previous_names": [ - "some-channel2" - ] - } - ], - "groups": [ - { - "id": "G3ZGMF4RZ", - "name": "mpdm-bob--alice--charles-1", - "is_group": true, - "created": 1485975690, - "creator": "U407ABLLW", - "is_archived": false, - "is_mpim": true, - "has_pins": false, - "is_open": true, - "last_read": "0000000000.000000", - "latest": { - "type": "message", - "subtype": "file_share", - "text": "<@U407ABLLW|alice> uploaded a file: ", - "file": { - "id": "F3ZLY6K5J", - "created": 1485975715, - "timestamp": 1485975715, - "name": "-.txt", - "title": "Untitled", - "mimetype": "text\/plain", - "filetype": "text", - "pretty_type": "Plain Text", - "user": "U407ABLLW", - "editable": true, - "size": 14, - "mode": "snippet", - "is_external": false, - "external_type": "", - "is_public": false, - "public_url_shared": false, - "display_as_bot": false, - "username": "", - "url_private": "https:\/\/files.slack.com\/files-pri\/T3YS5EAL9-F3ZLY6K5J\/-.txt", - "url_private_download": "https:\/\/files.slack.com\/files-pri\/T3YS5EAL9-F3ZLY6K5J\/download\/-.txt", - "permalink": "https:\/\/weeslacktest.slack.com\/files\/alice\/F3ZLY6K5J\/-.txt", - "permalink_public": "https:\/\/slack-files.com\/T3YS5EAL9-F3ZLY6K5J-39c2c4f739", - "edit_link": "https:\/\/weeslacktest.slack.com\/files\/alice\/F3ZLY6K5J\/-.txt\/edit", - "preview": "some code here", - "preview_highlight": "
\n
\n
some code here<\/pre><\/div>\n<\/div>\n<\/div>\n",
-                    "lines": 1,
-                    "lines_more": 0,
-                    "preview_is_truncated": false,
-                    "channels": [],
-                    "groups": [
-                        "G3ZGMF4RZ"
-                    ],
-                    "ims": [],
-                    "comments_count": 0
-                },
-                "user": "U407ABLLW",
-                "upload": true,
-                "display_as_bot": false,
-                "username": "<@U407ABLLW|alice>",
-                "bot_id": null,
-                "ts": "1485975715.000005"
-            },
-            "unread_count": 1,
-            "unread_count_display": 1,
-            "members": [
-                "U407ABLLW",
-                "U3ZKBBDL5",
-                "U4096CBHC"
-            ],
-            "topic": {
-                "value": "Group messaging",
-                "creator": "U407ABLLW",
-                "last_set": 1485975690
-            },
-            "purpose": {
-                "value": "Group messaging with: @bob @alice @charles",
-                "creator": "U407ABLLW",
-                "last_set": 1485975690
-            }
-        },
-        {
-            "id": "G3ZJKP7GA",
-            "name": "some-private-channel",
-            "is_group": true,
-            "created": 1485975492,
-            "creator": "U407ABLLW",
-            "is_archived": false,
-            "is_mpim": false,
-            "has_pins": false,
-            "is_open": true,
-            "last_read": "1485975492.000002",
-            "latest": {
-                "user": "U407ABLLW",
-                "purpose": "seekret",
-                "text": "<@U407ABLLW|alice> set the channel's purpose: seekret",
-                "type": "message",
-                "subtype": "group_purpose",
-                "ts": "1485975492.000004"
-            },
-            "unread_count": 2,
-            "unread_count_display": 1,
-            "members": [
-                "U3ZKBBDL5",
-                "U407ABLLW"
-            ],
-            "topic": {
-                "value": "",
-                "creator": "",
-                "last_set": 0
-            },
-            "purpose": {
-                "value": "seekret",
-                "creator": "U407ABLLW",
-                "last_set": 1485975493
-            }
-        },
-        {
-            "id": "G409GKN9M",
-            "name": "some-channel",
-            "is_group": true,
-            "created": 1485975458,
-            "creator": "U407ABLLW",
-            "is_archived": true,
-            "is_mpim": false,
-            "has_pins": false,
-            "is_open": false,
-            "last_read": "1485975476.876631",
-            "latest": {
-                "user": "U407ABLLW",
-                "text": "<@U407ABLLW|alice> archived the private channel",
-                "type": "message",
-                "subtype": "group_archive",
-                "ts": "1485975735.000006"
-            },
-            "unread_count": 1,
-            "unread_count_display": 1,
-            "members": [
-                "U3ZKBBDL5",
-                "U407ABLLW"
-            ],
-            "topic": {
-                "value": "",
-                "creator": "U407ABLLW",
-                "last_set": 1485975476
-            },
-            "purpose": {
-                "value": "who knows?",
-                "creator": "U407ABLLW",
-                "last_set": 1485975476
-            }
-        }
-    ],
-    "ims": [
-        {
-            "id": "D3ZK1D8JY",
-            "created": 1485969645,
-            "is_im": true,
-            "is_org_shared": false,
-            "user": "USLACKBOT",
-            "has_pins": false,
-            "last_read": "1485969667.000002",
-            "latest": {
-                "type": "message",
-                "user": "USLACKBOT",
-                "text": "<@U407ABLLW|alice> archived the private channel ",
-                "ts": "1485975735.000002"
-            },
-            "unread_count": 1,
-            "unread_count_display": 1,
-            "is_open": true
-        },
-        {
-            "id": "D3ZEQULFM",
-            "created": 1485969645,
-            "is_im": true,
-            "is_org_shared": false,
-            "user": "U3ZKBBDL5",
-            "has_pins": false,
-            "last_read": "0000000000.000000",
-            "latest": null,
-            "unread_count": 0,
-            "unread_count_display": 0,
-            "is_open": true
-        },
-        {
-            "id": "D3ZEQULHZ",
-            "created": 1485969645,
-            "is_im": true,
-            "is_org_shared": false,
-            "user": "U407ABLLW",
-            "has_pins": false,
-            "last_read": "0000000000.000000",
-            "latest": {
-                "type": "message",
-                "user": "U407ABLLW",
-                "text": "hi bob",
-                "ts": "1485975421.000002"
-            },
-            "unread_count": 1,
-            "unread_count_display": 1,
-            "is_open": true
-        },
-        {
-            "id": "D409J34CF",
-            "created": 1485975606,
-            "is_im": true,
-            "is_org_shared": false,
-            "user": "U4096CBHC",
-            "has_pins": false,
-            "last_read": "0000000000.000000",
-            "latest": null,
-            "unread_count": 0,
-            "unread_count_display": 0,
-            "is_open": true
-        }
-    ],
-    "cache_ts": 1485977062,
-    "read_only_channels": [],
-    "can_manage_shared_channels": false,
-    "subteams": {
-        "self": [],
-        "all": []
-    },
-    "dnd": {
-        "dnd_enabled": true,
-        "dnd_debug": {
-            "next_dnd_start_date": "Wed, 01 Feb 2017 22:00:00 -0800",
-            "next_dnd_end_date": "Thu, 02 Feb 2017 08:00:00 -0800",
-            "now": "Wed, 01 Feb 2017 11:24:22 -0800",
-            "type": "slack"
-        },
-        "next_dnd_start_ts": 1486015200,
-        "next_dnd_end_ts": 1486051200,
-        "snooze_enabled": false
-    },
-    "users": [
-        {
-            "id": "U407ABLLW",
-            "team_id": "T3YS5EAL9",
-            "name": "alice",
-            "deleted": false,
-            "status": null,
-            "color": "9f69e7",
-            "real_name": "First Testuser",
-            "tz": "America\/Los_Angeles",
-            "tz_label": "Pacific Standard Time",
-            "tz_offset": -28800,
-            "profile": {
-                "first_name": "First",
-                "last_name": "Testuser",
-                "avatar_hash": "gfd0ce7a168d",
-                "real_name": "First Testuser",
-                "real_name_normalized": "First Testuser",
-                "email": "redacted1@gmail.com",
-                "image_24": "https:\/\/secure.gravatar.com\/avatar\/fd0ce7a168dc2235d21c53c2c1cfee0c.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0024-24.png",
-                "image_32": "https:\/\/secure.gravatar.com\/avatar\/fd0ce7a168dc2235d21c53c2c1cfee0c.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0024-32.png",
-                "image_48": "https:\/\/secure.gravatar.com\/avatar\/fd0ce7a168dc2235d21c53c2c1cfee0c.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0024-48.png",
-                "image_72": "https:\/\/secure.gravatar.com\/avatar\/fd0ce7a168dc2235d21c53c2c1cfee0c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0024-72.png",
-                "image_192": "https:\/\/secure.gravatar.com\/avatar\/fd0ce7a168dc2235d21c53c2c1cfee0c.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0024-192.png",
-                "image_512": "https:\/\/secure.gravatar.com\/avatar\/fd0ce7a168dc2235d21c53c2c1cfee0c.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0024-512.png",
-                "fields": null
-            },
-            "is_admin": true,
-            "is_owner": true,
-            "is_primary_owner": true,
-            "is_restricted": false,
-            "is_ultra_restricted": false,
-            "is_bot": false,
-            "presence": "away"
-        },
-        {
-            "id": "U3ZKBBDL5",
-            "team_id": "T3YS5EAL9",
-            "name": "bob",
-            "deleted": false,
-            "status": null,
-            "color": "4bbe2e",
-            "real_name": "Second Testuser",
-            "tz": "America\/Los_Angeles",
-            "tz_label": "Pacific Standard Time",
-            "tz_offset": -28800,
-            "profile": {
-                "first_name": "Second",
-                "last_name": "Testuser",
-                "avatar_hash": "g6f7a5bf7eb7",
-                "real_name": "Second Testuser",
-                "real_name_normalized": "Second Testuser",
-                "email": "redacted2@gmail.com",
-                "image_24": "https:\/\/secure.gravatar.com\/avatar\/6f7a5bf7eb782853afb1d33f28ca9ae7.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0019-24.png",
-                "image_32": "https:\/\/secure.gravatar.com\/avatar\/6f7a5bf7eb782853afb1d33f28ca9ae7.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0019-32.png",
-                "image_48": "https:\/\/secure.gravatar.com\/avatar\/6f7a5bf7eb782853afb1d33f28ca9ae7.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0019-48.png",
-                "image_72": "https:\/\/secure.gravatar.com\/avatar\/6f7a5bf7eb782853afb1d33f28ca9ae7.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0019-72.png",
-                "image_192": "https:\/\/secure.gravatar.com\/avatar\/6f7a5bf7eb782853afb1d33f28ca9ae7.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0019-192.png",
-                "image_512": "https:\/\/secure.gravatar.com\/avatar\/6f7a5bf7eb782853afb1d33f28ca9ae7.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0019-512.png",
-                "fields": null
-            },
-            "is_admin": false,
-            "is_owner": false,
-            "is_primary_owner": false,
-            "is_restricted": false,
-            "is_ultra_restricted": false,
-            "is_bot": false,
-            "has_2fa": false,
-            "presence": "active"
-        },
-        {
-            "id": "U4096CBHC",
-            "team_id": "T3YS5EAL9",
-            "name": "charles",
-            "deleted": false,
-            "status": null,
-            "color": "e7392d",
-            "real_name": "Charles Testuser",
-            "tz": "America\/Los_Angeles",
-            "tz_label": "Pacific Standard Time",
-            "tz_offset": -28800,
-            "profile": {
-                "first_name": "Charles",
-                "last_name": "Testuser",
-                "avatar_hash": "5af404f7d4b7",
-                "fields": [],
-                "image_24": "https:\/\/avatars.slack-edge.com\/2017-02-01\/135714629508_5af404f7d4b7728d10c0_24.png",
-                "image_32": "https:\/\/avatars.slack-edge.com\/2017-02-01\/135714629508_5af404f7d4b7728d10c0_24.png",
-                "image_48": "https:\/\/avatars.slack-edge.com\/2017-02-01\/135714629508_5af404f7d4b7728d10c0_24.png",
-                "image_72": "https:\/\/avatars.slack-edge.com\/2017-02-01\/135714629508_5af404f7d4b7728d10c0_24.png",
-                "image_192": "https:\/\/avatars.slack-edge.com\/2017-02-01\/135714629508_5af404f7d4b7728d10c0_24.png",
-                "image_512": "https:\/\/avatars.slack-edge.com\/2017-02-01\/135714629508_5af404f7d4b7728d10c0_24.png",
-                "image_1024": "https:\/\/avatars.slack-edge.com\/2017-02-01\/135714629508_5af404f7d4b7728d10c0_24.png",
-                "image_original": "https:\/\/avatars.slack-edge.com\/2017-02-01\/135714629508_5af404f7d4b7728d10c0_original.png",
-                "real_name": "Charles Testuser",
-                "real_name_normalized": "Charles Testuser",
-                "email": "redacted3@gmail.com"
-            },
-            "is_admin": false,
-            "is_owner": false,
-            "is_primary_owner": false,
-            "is_restricted": false,
-            "is_ultra_restricted": false,
-            "is_bot": false,
-            "presence": "away"
-        },
-        {
-            "id": "USLACKBOT",
-            "team_id": "T3YS5EAL9",
-            "name": "slackbot",
-            "deleted": false,
-            "status": null,
-            "color": "757575",
-            "real_name": "slackbot",
-            "tz": null,
-            "tz_label": "Pacific Standard Time",
-            "tz_offset": -28800,
-            "profile": {
-                "first_name": "slackbot",
-                "last_name": "",
-                "image_24": "https:\/\/a.slack-edge.com\/0180\/img\/slackbot_24.png",
-                "image_32": "https:\/\/a.slack-edge.com\/2fac\/plugins\/slackbot\/assets\/service_32.png",
-                "image_48": "https:\/\/a.slack-edge.com\/2fac\/plugins\/slackbot\/assets\/service_48.png",
-                "image_72": "https:\/\/a.slack-edge.com\/0180\/img\/slackbot_72.png",
-                "image_192": "https:\/\/a.slack-edge.com\/66f9\/img\/slackbot_192.png",
-                "image_512": "https:\/\/a.slack-edge.com\/1801\/img\/slackbot_512.png",
-                "avatar_hash": "sv1444671949",
-                "real_name": "slackbot",
-                "real_name_normalized": "slackbot",
-                "fields": null
-            },
-            "is_admin": false,
-            "is_owner": false,
-            "is_primary_owner": false,
-            "is_restricted": false,
-            "is_ultra_restricted": false,
-            "is_bot": false,
-            "presence": "active"
-        }
-    ],
-    "cache_version": "v15-koala",
-    "cache_ts_version": "v1-cat",
-    "bots": [
-        {
-            "id": "B3YTBU6L8",
-            "deleted": false,
-            "name": "incoming-webhook",
-            "app_id": "A0F7XDUAZ",
-            "icons": {
-                "image_36": "https:\/\/a.slack-edge.com\/12b5a\/plugins\/tester\/assets\/service_36.png",
-                "image_48": "https:\/\/a.slack-edge.com\/12b5a\/plugins\/tester\/assets\/service_48.png",
-                "image_72": "https:\/\/a.slack-edge.com\/12b5a\/plugins\/tester\/assets\/service_72.png"
-            }
-        },
-        {
-            "id": "B3ZESMZKM",
-            "deleted": false,
-            "name": "Slack API Tester",
-            "app_id": "A02",
-            "icons": {
-                "image_36": "https:\/\/a.slack-edge.com\/b48b\/plugins\/slack_api_news\/assets\/service_36.png",
-                "image_48": "https:\/\/a.slack-edge.com\/b48b\/plugins\/slack_api_news\/assets\/service_48.png",
-                "image_72": "https:\/\/a.slack-edge.com\/b48b\/plugins\/slack_api_news\/assets\/service_72.png"
-            }
-        },
-        {
-            "id": "B407MVCA3",
-            "deleted": false,
-            "name": "gdrive",
-            "app_id": "A0F7YS32P",
-            "icons": {
-                "image_36": "https:\/\/a.slack-edge.com\/12b5a\/plugins\/gdrive\/assets\/service_36.png",
-                "image_48": "https:\/\/a.slack-edge.com\/12b5a\/plugins\/gdrive\/assets\/service_48.png",
-                "image_72": "https:\/\/a.slack-edge.com\/12b5a\/plugins\/gdrive\/assets\/service_72.png"
-            }
-        }
-    ],
-    "url": "wss:\/\/mpmulti-9ry9.slack-msgs.com\/websocket\/U4n-6Yw8mpc9C64E74gYXGbojir25QCCcLJ9eK57KDURr0o5so6x4qZU-pKn-LX0bYt-ZmIaFcN4TxoKPry1eRtOwiCNSyGyIGxnYrUtrsvMvkFr5C2-osZVL85WqzIWRoE00sBma3U8BkKfi8oUmMoYGKFFVeJ2WPI_ygHRPOo="
-}
diff --git a/_pytest/data/http/rtm.start.json b/_pytest/data/http/rtm.start.json
new file mode 100644
index 0000000..d9cc464
--- /dev/null
+++ b/_pytest/data/http/rtm.start.json
@@ -0,0 +1,861 @@
+{
+    "ok": true,
+    "self": {
+        "id": "U3ZKBBDL5",
+        "name": "bob",
+        "prefs": {
+            "highlight_words": "",
+            "user_colors": "",
+            "color_names_in_list": true,
+            "growls_enabled": true,
+            "tz": "America\/Los_Angeles",
+            "push_dm_alert": true,
+            "push_mention_alert": true,
+            "push_everything": true,
+            "push_show_preview": true,
+            "push_idle_wait": 2,
+            "push_sound": "b2.mp3",
+            "push_loud_channels": "",
+            "push_mention_channels": "",
+            "push_loud_channels_set": "",
+            "threads_everything": false,
+            "email_alerts": "instant",
+            "email_alerts_sleep_until": 0,
+            "email_misc": false,
+            "email_weekly": true,
+            "welcome_message_hidden": false,
+            "all_channels_loud": true,
+            "loud_channels": "",
+            "never_channels": "",
+            "loud_channels_set": "",
+            "search_sort": "timestamp",
+            "expand_inline_imgs": true,
+            "expand_internal_inline_imgs": true,
+            "expand_snippets": false,
+            "posts_formatting_guide": true,
+            "seen_welcome_2": true,
+            "seen_ssb_prompt": false,
+            "spaces_new_xp_banner_dismissed": false,
+            "search_only_my_channels": false,
+            "search_only_current_team": false,
+            "emoji_mode": "default",
+            "emoji_use": "",
+            "has_invited": false,
+            "has_uploaded": false,
+            "has_created_channel": false,
+            "has_searched": false,
+            "search_exclude_channels": "",
+            "messages_theme": "default",
+            "webapp_spellcheck": true,
+            "no_joined_overlays": false,
+            "no_created_overlays": false,
+            "dropbox_enabled": false,
+            "seen_domain_invite_reminder": false,
+            "seen_member_invite_reminder": false,
+            "mute_sounds": false,
+            "arrow_history": false,
+            "tab_ui_return_selects": true,
+            "obey_inline_img_limit": true,
+            "new_msg_snd": "knock_brush.mp3",
+            "require_at": false,
+            "ssb_space_window": "",
+            "mac_ssb_bounce": "",
+            "mac_ssb_bullet": true,
+            "expand_non_media_attachments": true,
+            "show_typing": true,
+            "pagekeys_handled": true,
+            "last_snippet_type": "",
+            "display_real_names_override": 0,
+            "display_preferred_names": true,
+            "time24": false,
+            "enter_is_special_in_tbt": false,
+            "graphic_emoticons": false,
+            "convert_emoticons": true,
+            "ss_emojis": true,
+            "sidebar_behavior": "",
+            "seen_onboarding_start": false,
+            "onboarding_cancelled": true,
+            "seen_onboarding_slackbot_conversation": false,
+            "seen_onboarding_channels": false,
+            "seen_onboarding_direct_messages": false,
+            "seen_onboarding_invites": false,
+            "seen_onboarding_search": false,
+            "seen_onboarding_recent_mentions": false,
+            "seen_onboarding_starred_items": false,
+            "seen_onboarding_private_groups": false,
+            "onboarding_slackbot_conversation_step": 0,
+            "dnd_enabled": true,
+            "dnd_start_hour": "22:00",
+            "dnd_end_hour": "08:00",
+            "mark_msgs_read_immediately": true,
+            "start_scroll_at_oldest": true,
+            "snippet_editor_wrap_long_lines": false,
+            "ls_disabled": false,
+            "sidebar_theme": "default",
+            "sidebar_theme_custom_values": "",
+            "f_key_search": false,
+            "k_key_omnibox": true,
+            "speak_growls": false,
+            "mac_speak_voice": "com.apple.speech.synthesis.voice.Alex",
+            "mac_speak_speed": 250,
+            "at_channel_suppressed_channels": "",
+            "push_at_channel_suppressed_channels": "",
+            "prompted_for_email_disabling": false,
+            "full_text_extracts": false,
+            "no_text_in_notifications": false,
+            "muted_channels": "",
+            "no_macelectron_banner": false,
+            "no_macssb1_banner": false,
+            "no_macssb2_banner": false,
+            "no_winssb1_banner": false,
+            "no_invites_widget_in_sidebar": false,
+            "no_omnibox_in_channels": false,
+            "k_key_omnibox_auto_hide_count": 0,
+            "prev_next_btn": false,
+            "hide_user_group_info_pane": false,
+            "mentions_exclude_at_user_groups": false,
+            "privacy_policy_seen": true,
+            "enterprise_migration_seen": true,
+            "last_tos_acknowledged": "tos_oct2016",
+            "search_exclude_bots": false,
+            "load_lato_2": false,
+            "fuller_timestamps": false,
+            "last_seen_at_channel_warning": 0,
+            "msg_preview": false,
+            "msg_preview_persistent": true,
+            "emoji_autocomplete_big": false,
+            "winssb_run_from_tray": true,
+            "winssb_window_flash_behavior": "idle",
+            "two_factor_auth_enabled": false,
+            "two_factor_type": null,
+            "two_factor_backup_type": null,
+            "hide_hex_swatch": false,
+            "client_logs_pri": "",
+            "enhanced_debugging": false,
+            "thin_channel_membership_fe": false,
+            "flannel_server_pool": "random",
+            "mentions_exclude_at_channels": true,
+            "confirm_clear_all_unreads": true,
+            "confirm_user_marked_away": true,
+            "box_enabled": false,
+            "seen_single_emoji_msg": false,
+            "confirm_sh_call_start": true,
+            "preferred_skin_tone": "",
+            "show_all_skin_tones": false,
+            "separate_private_channels": false,
+            "whats_new_read": 1485969645,
+            "hotness": false,
+            "frecency_jumper": "",
+            "frecency_ent_jumper": "",
+            "jumbomoji": true,
+            "newxp_seen_last_message": "1",
+            "attachments_with_borders": false,
+            "show_memory_instrument": false,
+            "enable_unread_view": false,
+            "seen_unread_view_coachmark": false,
+            "seen_calls_video_beta_coachmark": false,
+            "seen_calls_video_ga_coachmark": false,
+            "seen_calls_ss_window_coachmark": false,
+            "measure_css_usage": false,
+            "enable_react_emoji_picker": true,
+            "seen_replies_coachmark": false,
+            "seen_custom_status_badge": false,
+            "all_unreads_sort_order": "alphabetical",
+            "locale": "en_US",
+            "gdrive_authed": true,
+            "gdrive_enabled": true,
+            "seen_gdrive_coachmark": false,
+            "channel_sort": "{\"is_custom_sorted\":false, \"priority_display\":false, \"priority_type\":\"\", \"sorts\":[]}",
+            "overloaded_message_enabled": true,
+            "seen_highlights_coachmark": false,
+            "seen_highlights_arrows_coachmark": false,
+            "a11y_font_size": "normal",
+            "a11y_animations": true,
+            "intro_to_apps_message_seen": false
+        },
+        "created": 1485969645,
+        "manual_presence": "active"
+    },
+    "team": {
+        "id": "T3YS5EAL9",
+        "name": "weeslacktest",
+        "email_domain": "",
+        "domain": "weeslacktest",
+        "msg_edit_window_mins": -1,
+        "prefs": {
+            "invites_only_admins": false,
+            "default_channels": [
+                "C407ABS94",
+                "C3ZEQAYN7"
+            ],
+            "display_email_addresses": false,
+            "hide_referers": true,
+            "msg_edit_window_mins": -1,
+            "allow_message_deletion": true,
+            "calling_app_name": "Slack",
+            "allow_calls": true,
+            "display_real_names": false,
+            "who_can_at_everyone": "regular",
+            "who_can_at_channel": "ra",
+            "who_can_create_channels": "regular",
+            "who_can_archive_channels": "regular",
+            "who_can_create_groups": "ra",
+            "who_can_post_general": "ra",
+            "who_can_kick_channels": "admin",
+            "who_can_kick_groups": "regular",
+            "retention_type": 0,
+            "retention_duration": 0,
+            "group_retention_type": 0,
+            "group_retention_duration": 0,
+            "dm_retention_type": 0,
+            "dm_retention_duration": 0,
+            "file_retention_duration": 0,
+            "file_retention_type": 0,
+            "allow_retention_override": true,
+            "require_at_for_mention": false,
+            "default_rxns": [
+                "simple_smile",
+                "thumbsup",
+                "white_check_mark",
+                "heart",
+                "eyes"
+            ],
+            "team_handy_rxns": {
+                "restrict": false,
+                "list": [
+                    {
+                        "name": "slightly_smiling_face",
+                        "title": "I'm happy!"
+                    },
+                    {
+                        "name": "+1",
+                        "title": "good!"
+                    },
+                    {
+                        "name": "white_check_mark",
+                        "title": "done!"
+                    },
+                    {
+                        "name": "heart",
+                        "title": "love it!"
+                    },
+                    {
+                        "name": "eyes",
+                        "title": "looking..."
+                    }
+                ]
+            },
+            "channel_handy_rxns": null,
+            "compliance_export_start": 0,
+            "warn_before_at_channel": "always",
+            "disallow_public_file_urls": false,
+            "who_can_create_delete_user_groups": "admin",
+            "who_can_edit_user_groups": "admin",
+            "who_can_change_team_profile": "admin",
+            "allow_shared_channels": false,
+            "who_has_team_visibility": "ra",
+            "disable_file_uploads": "allow_all",
+            "disable_file_editing": false,
+            "disable_file_deleting": false,
+            "who_can_create_shared_channels": "admin",
+            "who_can_manage_shared_channels": {
+                "type": [
+                    "admin"
+                ]
+            },
+            "who_can_post_in_shared_channels": {
+                "type": [
+                    "regular",
+                    "ra"
+                ]
+            },
+            "allow_shared_channel_perms_override": false,
+            "gdrive_enabled_team": true,
+            "dnd_enabled": true,
+            "dnd_start_hour": "22:00",
+            "dnd_end_hour": "08:00",
+            "auth_mode": "normal",
+            "who_can_manage_integrations": {
+                "type": [
+                    "regular"
+                ]
+            },
+            "invites_limit": true
+        },
+        "icon": {
+            "image_34": "https:\/\/a.slack-edge.com\/0180\/img\/avatars-teams\/ava_0014-34.png",
+            "image_44": "https:\/\/a.slack-edge.com\/0180\/img\/avatars-teams\/ava_0014-44.png",
+            "image_68": "https:\/\/a.slack-edge.com\/66f9\/img\/avatars-teams\/ava_0014-68.png",
+            "image_88": "https:\/\/a.slack-edge.com\/66f9\/img\/avatars-teams\/ava_0014-88.png",
+            "image_102": "https:\/\/a.slack-edge.com\/66f9\/img\/avatars-teams\/ava_0014-102.png",
+            "image_132": "https:\/\/a.slack-edge.com\/66f9\/img\/avatars-teams\/ava_0014-132.png",
+            "image_230": "https:\/\/a.slack-edge.com\/bfaba\/img\/avatars-teams\/ava_0014-230.png",
+            "image_default": true
+        },
+        "over_storage_limit": false,
+        "plan": "",
+        "avatar_base_url": "https:\/\/ca.slack-edge.com\/",
+        "over_integrations_limit": true
+    },
+    "latest_event_ts": "1485976462.000000",
+    "channels": [
+        {
+            "id": "C407ABS94",
+            "name": "general",
+            "is_channel": true,
+            "created": 1485969592,
+            "creator": "U407ABLLW",
+            "is_archived": false,
+            "is_general": true,
+            "has_pins": false,
+            "is_member": true,
+            "last_read": "1485976236.000019",
+            "latest": {
+                "type": "message",
+                "subtype": "file_comment",
+                "text": "<@U407ABLLW|alice> commented on <@U407ABLLW|alice>\u2019s file : first comment! now i edited it.",
+                "file": {
+                    "id": "F3ZJQTA66",
+                    "created": 1485975955,
+                    "timestamp": 1485975955,
+                    "name": "1x1.png",
+                    "title": "1x1.png",
+                    "mimetype": "image\/png",
+                    "filetype": "png",
+                    "pretty_type": "PNG",
+                    "user": "U407ABLLW",
+                    "editable": false,
+                    "size": 68,
+                    "mode": "hosted",
+                    "is_external": false,
+                    "external_type": "",
+                    "is_public": true,
+                    "public_url_shared": false,
+                    "display_as_bot": false,
+                    "username": "",
+                    "url_private": "https:\/\/files.slack.com\/files-pri\/T3YS5EAL9-F3ZJQTA66\/1x1.png",
+                    "url_private_download": "https:\/\/files.slack.com\/files-pri\/T3YS5EAL9-F3ZJQTA66\/download\/1x1.png",
+                    "thumb_64": "https:\/\/files.slack.com\/files-tmb\/T3YS5EAL9-F3ZJQTA66-8ab528dd77\/1x1_64.png",
+                    "thumb_80": "https:\/\/files.slack.com\/files-tmb\/T3YS5EAL9-F3ZJQTA66-8ab528dd77\/1x1_80.png",
+                    "thumb_360": "https:\/\/files.slack.com\/files-tmb\/T3YS5EAL9-F3ZJQTA66-8ab528dd77\/1x1_360.png",
+                    "thumb_360_w": 1,
+                    "thumb_360_h": 1,
+                    "thumb_160": "https:\/\/files.slack.com\/files-tmb\/T3YS5EAL9-F3ZJQTA66-8ab528dd77\/1x1_160.png",
+                    "image_exif_rotation": 1,
+                    "original_w": 1,
+                    "original_h": 1,
+                    "permalink": "https:\/\/weeslacktest.slack.com\/files\/alice\/F3ZJQTA66\/1x1.png",
+                    "permalink_public": "https:\/\/slack-files.com\/T3YS5EAL9-F3ZJQTA66-5d747593d2",
+                    "channels": [
+                        "C407ABS94"
+                    ],
+                    "groups": [],
+                    "ims": [],
+                    "comments_count": 1
+                },
+                "comment": {
+                    "id": "Fc3ZMDRQLV",
+                    "created": 1485976236,
+                    "timestamp": 1485976236,
+                    "user": "U407ABLLW",
+                    "is_intro": false,
+                    "comment": "first comment! now i edited it.",
+                    "channel": ""
+                },
+                "is_intro": false,
+                "ts": "1485976236.000019"
+            },
+            "unread_count": 0,
+            "unread_count_display": 0,
+            "members": [
+                "U3ZKBBDL5",
+                "U407ABLLW",
+                "U4096CBHC"
+            ],
+            "topic": {
+                "value": "Company-wide announcements and work-based matters",
+                "creator": "",
+                "last_set": 0
+            },
+            "purpose": {
+                "value": "This channel is for team-wide communication and announcements. All team members are in this channel.",
+                "creator": "",
+                "last_set": 0
+            },
+            "previous_names": []
+        },
+        {
+            "id": "C3ZM2GMGU",
+            "name": "made-to-be-archived",
+            "is_channel": true,
+            "created": 1485976107,
+            "creator": "U407ABLLW",
+            "is_archived": false,
+            "is_general": false,
+            "has_pins": false,
+            "is_member": false,
+            "previous_names": []
+        },
+        {
+            "id": "C3ZEQAYN7",
+            "name": "random",
+            "is_channel": true,
+            "created": 1485969592,
+            "creator": "U407ABLLW",
+            "is_archived": false,
+            "is_general": false,
+            "has_pins": false,
+            "is_member": true,
+            "last_read": "1485969592.000002",
+            "latest": {
+                "user": "U4096CBHC",
+                "text": "<@U4096CBHC|charles> has joined the channel",
+                "type": "message",
+                "subtype": "channel_join",
+                "ts": "1485975606.000004"
+            },
+            "unread_count": 2,
+            "unread_count_display": 0,
+            "members": [
+                "U3ZKBBDL5",
+                "U407ABLLW",
+                "U4096CBHC"
+            ],
+            "topic": {
+                "value": "Non-work banter and water cooler conversation",
+                "creator": "",
+                "last_set": 0
+            },
+            "purpose": {
+                "value": "A place for non-work-related flimflam, faffing, hodge-podge or jibber-jabber you'd prefer to keep out of more focused work-related channels.",
+                "creator": "",
+                "last_set": 0
+            },
+            "previous_names": []
+        },
+        {
+            "id": "C3ZM8JTD3",
+            "name": "some-channel2-renamed",
+            "is_channel": true,
+            "created": 1485975747,
+            "creator": "U407ABLLW",
+            "is_archived": false,
+            "is_general": false,
+            "has_pins": false,
+            "is_member": false,
+            "previous_names": [
+                "some-channel2"
+            ]
+        }
+    ],
+    "groups": [
+        {
+            "id": "G3ZGMF4RZ",
+            "name": "mpdm-bob--alice--charles-1",
+            "is_group": true,
+            "created": 1485975690,
+            "creator": "U407ABLLW",
+            "is_archived": false,
+            "is_mpim": true,
+            "has_pins": false,
+            "is_open": true,
+            "last_read": "0000000000.000000",
+            "latest": {
+                "type": "message",
+                "subtype": "file_share",
+                "text": "<@U407ABLLW|alice> uploaded a file: ",
+                "file": {
+                    "id": "F3ZLY6K5J",
+                    "created": 1485975715,
+                    "timestamp": 1485975715,
+                    "name": "-.txt",
+                    "title": "Untitled",
+                    "mimetype": "text\/plain",
+                    "filetype": "text",
+                    "pretty_type": "Plain Text",
+                    "user": "U407ABLLW",
+                    "editable": true,
+                    "size": 14,
+                    "mode": "snippet",
+                    "is_external": false,
+                    "external_type": "",
+                    "is_public": false,
+                    "public_url_shared": false,
+                    "display_as_bot": false,
+                    "username": "",
+                    "url_private": "https:\/\/files.slack.com\/files-pri\/T3YS5EAL9-F3ZLY6K5J\/-.txt",
+                    "url_private_download": "https:\/\/files.slack.com\/files-pri\/T3YS5EAL9-F3ZLY6K5J\/download\/-.txt",
+                    "permalink": "https:\/\/weeslacktest.slack.com\/files\/alice\/F3ZLY6K5J\/-.txt",
+                    "permalink_public": "https:\/\/slack-files.com\/T3YS5EAL9-F3ZLY6K5J-39c2c4f739",
+                    "edit_link": "https:\/\/weeslacktest.slack.com\/files\/alice\/F3ZLY6K5J\/-.txt\/edit",
+                    "preview": "some code here",
+                    "preview_highlight": "
\n
\n
some code here<\/pre><\/div>\n<\/div>\n<\/div>\n",
+                    "lines": 1,
+                    "lines_more": 0,
+                    "preview_is_truncated": false,
+                    "channels": [],
+                    "groups": [
+                        "G3ZGMF4RZ"
+                    ],
+                    "ims": [],
+                    "comments_count": 0
+                },
+                "user": "U407ABLLW",
+                "upload": true,
+                "display_as_bot": false,
+                "username": "<@U407ABLLW|alice>",
+                "bot_id": null,
+                "ts": "1485975715.000005"
+            },
+            "unread_count": 1,
+            "unread_count_display": 1,
+            "members": [
+                "U407ABLLW",
+                "U3ZKBBDL5",
+                "U4096CBHC"
+            ],
+            "topic": {
+                "value": "Group messaging",
+                "creator": "U407ABLLW",
+                "last_set": 1485975690
+            },
+            "purpose": {
+                "value": "Group messaging with: @bob @alice @charles",
+                "creator": "U407ABLLW",
+                "last_set": 1485975690
+            }
+        },
+        {
+            "id": "G3ZJKP7GA",
+            "name": "some-private-channel",
+            "is_group": true,
+            "created": 1485975492,
+            "creator": "U407ABLLW",
+            "is_archived": false,
+            "is_mpim": false,
+            "has_pins": false,
+            "is_open": true,
+            "last_read": "1485975492.000002",
+            "latest": {
+                "user": "U407ABLLW",
+                "purpose": "seekret",
+                "text": "<@U407ABLLW|alice> set the channel's purpose: seekret",
+                "type": "message",
+                "subtype": "group_purpose",
+                "ts": "1485975492.000004"
+            },
+            "unread_count": 2,
+            "unread_count_display": 1,
+            "members": [
+                "U3ZKBBDL5",
+                "U407ABLLW"
+            ],
+            "topic": {
+                "value": "",
+                "creator": "",
+                "last_set": 0
+            },
+            "purpose": {
+                "value": "seekret",
+                "creator": "U407ABLLW",
+                "last_set": 1485975493
+            }
+        },
+        {
+            "id": "G409GKN9M",
+            "name": "some-channel",
+            "is_group": true,
+            "created": 1485975458,
+            "creator": "U407ABLLW",
+            "is_archived": true,
+            "is_mpim": false,
+            "has_pins": false,
+            "is_open": false,
+            "last_read": "1485975476.876631",
+            "latest": {
+                "user": "U407ABLLW",
+                "text": "<@U407ABLLW|alice> archived the private channel",
+                "type": "message",
+                "subtype": "group_archive",
+                "ts": "1485975735.000006"
+            },
+            "unread_count": 1,
+            "unread_count_display": 1,
+            "members": [
+                "U3ZKBBDL5",
+                "U407ABLLW"
+            ],
+            "topic": {
+                "value": "",
+                "creator": "U407ABLLW",
+                "last_set": 1485975476
+            },
+            "purpose": {
+                "value": "who knows?",
+                "creator": "U407ABLLW",
+                "last_set": 1485975476
+            }
+        }
+    ],
+    "ims": [
+        {
+            "id": "D3ZK1D8JY",
+            "created": 1485969645,
+            "is_im": true,
+            "is_org_shared": false,
+            "user": "USLACKBOT",
+            "has_pins": false,
+            "last_read": "1485969667.000002",
+            "latest": {
+                "type": "message",
+                "user": "USLACKBOT",
+                "text": "<@U407ABLLW|alice> archived the private channel ",
+                "ts": "1485975735.000002"
+            },
+            "unread_count": 1,
+            "unread_count_display": 1,
+            "is_open": true
+        },
+        {
+            "id": "D3ZEQULFM",
+            "created": 1485969645,
+            "is_im": true,
+            "is_org_shared": false,
+            "user": "U3ZKBBDL5",
+            "has_pins": false,
+            "last_read": "0000000000.000000",
+            "latest": null,
+            "unread_count": 0,
+            "unread_count_display": 0,
+            "is_open": true
+        },
+        {
+            "id": "D3ZEQULHZ",
+            "created": 1485969645,
+            "is_im": true,
+            "is_org_shared": false,
+            "user": "U407ABLLW",
+            "has_pins": false,
+            "last_read": "0000000000.000000",
+            "latest": {
+                "type": "message",
+                "user": "U407ABLLW",
+                "text": "hi bob",
+                "ts": "1485975421.000002"
+            },
+            "unread_count": 1,
+            "unread_count_display": 1,
+            "is_open": true
+        },
+        {
+            "id": "D409J34CF",
+            "created": 1485975606,
+            "is_im": true,
+            "is_org_shared": false,
+            "user": "U4096CBHC",
+            "has_pins": false,
+            "last_read": "0000000000.000000",
+            "latest": null,
+            "unread_count": 0,
+            "unread_count_display": 0,
+            "is_open": true
+        }
+    ],
+    "cache_ts": 1485977062,
+    "read_only_channels": [],
+    "can_manage_shared_channels": false,
+    "subteams": {
+        "self": [],
+        "all": []
+    },
+    "dnd": {
+        "dnd_enabled": true,
+        "dnd_debug": {
+            "next_dnd_start_date": "Wed, 01 Feb 2017 22:00:00 -0800",
+            "next_dnd_end_date": "Thu, 02 Feb 2017 08:00:00 -0800",
+            "now": "Wed, 01 Feb 2017 11:24:22 -0800",
+            "type": "slack"
+        },
+        "next_dnd_start_ts": 1486015200,
+        "next_dnd_end_ts": 1486051200,
+        "snooze_enabled": false
+    },
+    "users": [
+        {
+            "id": "U407ABLLW",
+            "team_id": "T3YS5EAL9",
+            "name": "alice",
+            "deleted": false,
+            "status": null,
+            "color": "9f69e7",
+            "real_name": "First Testuser",
+            "tz": "America\/Los_Angeles",
+            "tz_label": "Pacific Standard Time",
+            "tz_offset": -28800,
+            "profile": {
+                "first_name": "First",
+                "last_name": "Testuser",
+                "avatar_hash": "gfd0ce7a168d",
+                "real_name": "First Testuser",
+                "real_name_normalized": "First Testuser",
+                "email": "redacted1@gmail.com",
+                "image_24": "https:\/\/secure.gravatar.com\/avatar\/fd0ce7a168dc2235d21c53c2c1cfee0c.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0024-24.png",
+                "image_32": "https:\/\/secure.gravatar.com\/avatar\/fd0ce7a168dc2235d21c53c2c1cfee0c.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0024-32.png",
+                "image_48": "https:\/\/secure.gravatar.com\/avatar\/fd0ce7a168dc2235d21c53c2c1cfee0c.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0024-48.png",
+                "image_72": "https:\/\/secure.gravatar.com\/avatar\/fd0ce7a168dc2235d21c53c2c1cfee0c.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0024-72.png",
+                "image_192": "https:\/\/secure.gravatar.com\/avatar\/fd0ce7a168dc2235d21c53c2c1cfee0c.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0024-192.png",
+                "image_512": "https:\/\/secure.gravatar.com\/avatar\/fd0ce7a168dc2235d21c53c2c1cfee0c.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0024-512.png",
+                "fields": null
+            },
+            "is_admin": true,
+            "is_owner": true,
+            "is_primary_owner": true,
+            "is_restricted": false,
+            "is_ultra_restricted": false,
+            "is_bot": false,
+            "presence": "away"
+        },
+        {
+            "id": "U3ZKBBDL5",
+            "team_id": "T3YS5EAL9",
+            "name": "bob",
+            "deleted": false,
+            "status": null,
+            "color": "4bbe2e",
+            "real_name": "Second Testuser",
+            "tz": "America\/Los_Angeles",
+            "tz_label": "Pacific Standard Time",
+            "tz_offset": -28800,
+            "profile": {
+                "first_name": "Second",
+                "last_name": "Testuser",
+                "avatar_hash": "g6f7a5bf7eb7",
+                "real_name": "Second Testuser",
+                "real_name_normalized": "Second Testuser",
+                "email": "redacted2@gmail.com",
+                "image_24": "https:\/\/secure.gravatar.com\/avatar\/6f7a5bf7eb782853afb1d33f28ca9ae7.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0019-24.png",
+                "image_32": "https:\/\/secure.gravatar.com\/avatar\/6f7a5bf7eb782853afb1d33f28ca9ae7.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0019-32.png",
+                "image_48": "https:\/\/secure.gravatar.com\/avatar\/6f7a5bf7eb782853afb1d33f28ca9ae7.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0019-48.png",
+                "image_72": "https:\/\/secure.gravatar.com\/avatar\/6f7a5bf7eb782853afb1d33f28ca9ae7.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0019-72.png",
+                "image_192": "https:\/\/secure.gravatar.com\/avatar\/6f7a5bf7eb782853afb1d33f28ca9ae7.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0019-192.png",
+                "image_512": "https:\/\/secure.gravatar.com\/avatar\/6f7a5bf7eb782853afb1d33f28ca9ae7.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0019-512.png",
+                "fields": null
+            },
+            "is_admin": false,
+            "is_owner": false,
+            "is_primary_owner": false,
+            "is_restricted": false,
+            "is_ultra_restricted": false,
+            "is_bot": false,
+            "has_2fa": false,
+            "presence": "active"
+        },
+        {
+            "id": "U4096CBHC",
+            "team_id": "T3YS5EAL9",
+            "name": "charles",
+            "deleted": false,
+            "status": null,
+            "color": "e7392d",
+            "real_name": "Charles Testuser",
+            "tz": "America\/Los_Angeles",
+            "tz_label": "Pacific Standard Time",
+            "tz_offset": -28800,
+            "profile": {
+                "first_name": "Charles",
+                "last_name": "Testuser",
+                "avatar_hash": "5af404f7d4b7",
+                "fields": [],
+                "image_24": "https:\/\/avatars.slack-edge.com\/2017-02-01\/135714629508_5af404f7d4b7728d10c0_24.png",
+                "image_32": "https:\/\/avatars.slack-edge.com\/2017-02-01\/135714629508_5af404f7d4b7728d10c0_24.png",
+                "image_48": "https:\/\/avatars.slack-edge.com\/2017-02-01\/135714629508_5af404f7d4b7728d10c0_24.png",
+                "image_72": "https:\/\/avatars.slack-edge.com\/2017-02-01\/135714629508_5af404f7d4b7728d10c0_24.png",
+                "image_192": "https:\/\/avatars.slack-edge.com\/2017-02-01\/135714629508_5af404f7d4b7728d10c0_24.png",
+                "image_512": "https:\/\/avatars.slack-edge.com\/2017-02-01\/135714629508_5af404f7d4b7728d10c0_24.png",
+                "image_1024": "https:\/\/avatars.slack-edge.com\/2017-02-01\/135714629508_5af404f7d4b7728d10c0_24.png",
+                "image_original": "https:\/\/avatars.slack-edge.com\/2017-02-01\/135714629508_5af404f7d4b7728d10c0_original.png",
+                "real_name": "Charles Testuser",
+                "real_name_normalized": "Charles Testuser",
+                "email": "redacted3@gmail.com"
+            },
+            "is_admin": false,
+            "is_owner": false,
+            "is_primary_owner": false,
+            "is_restricted": false,
+            "is_ultra_restricted": false,
+            "is_bot": false,
+            "presence": "away"
+        },
+        {
+            "id": "USLACKBOT",
+            "team_id": "T3YS5EAL9",
+            "name": "slackbot",
+            "deleted": false,
+            "status": null,
+            "color": "757575",
+            "real_name": "slackbot",
+            "tz": null,
+            "tz_label": "Pacific Standard Time",
+            "tz_offset": -28800,
+            "profile": {
+                "first_name": "slackbot",
+                "last_name": "",
+                "image_24": "https:\/\/a.slack-edge.com\/0180\/img\/slackbot_24.png",
+                "image_32": "https:\/\/a.slack-edge.com\/2fac\/plugins\/slackbot\/assets\/service_32.png",
+                "image_48": "https:\/\/a.slack-edge.com\/2fac\/plugins\/slackbot\/assets\/service_48.png",
+                "image_72": "https:\/\/a.slack-edge.com\/0180\/img\/slackbot_72.png",
+                "image_192": "https:\/\/a.slack-edge.com\/66f9\/img\/slackbot_192.png",
+                "image_512": "https:\/\/a.slack-edge.com\/1801\/img\/slackbot_512.png",
+                "avatar_hash": "sv1444671949",
+                "real_name": "slackbot",
+                "real_name_normalized": "slackbot",
+                "fields": null
+            },
+            "is_admin": false,
+            "is_owner": false,
+            "is_primary_owner": false,
+            "is_restricted": false,
+            "is_ultra_restricted": false,
+            "is_bot": false,
+            "presence": "active"
+        }
+    ],
+    "cache_version": "v15-koala",
+    "cache_ts_version": "v1-cat",
+    "bots": [
+        {
+            "id": "B3YTBU6L8",
+            "deleted": false,
+            "name": "incoming-webhook",
+            "app_id": "A0F7XDUAZ",
+            "icons": {
+                "image_36": "https:\/\/a.slack-edge.com\/12b5a\/plugins\/tester\/assets\/service_36.png",
+                "image_48": "https:\/\/a.slack-edge.com\/12b5a\/plugins\/tester\/assets\/service_48.png",
+                "image_72": "https:\/\/a.slack-edge.com\/12b5a\/plugins\/tester\/assets\/service_72.png"
+            }
+        },
+        {
+            "id": "B3ZESMZKM",
+            "deleted": false,
+            "name": "Slack API Tester",
+            "app_id": "A02",
+            "icons": {
+                "image_36": "https:\/\/a.slack-edge.com\/b48b\/plugins\/slack_api_news\/assets\/service_36.png",
+                "image_48": "https:\/\/a.slack-edge.com\/b48b\/plugins\/slack_api_news\/assets\/service_48.png",
+                "image_72": "https:\/\/a.slack-edge.com\/b48b\/plugins\/slack_api_news\/assets\/service_72.png"
+            }
+        },
+        {
+            "id": "B407MVCA3",
+            "deleted": false,
+            "name": "gdrive",
+            "app_id": "A0F7YS32P",
+            "icons": {
+                "image_36": "https:\/\/a.slack-edge.com\/12b5a\/plugins\/gdrive\/assets\/service_36.png",
+                "image_48": "https:\/\/a.slack-edge.com\/12b5a\/plugins\/gdrive\/assets\/service_48.png",
+                "image_72": "https:\/\/a.slack-edge.com\/12b5a\/plugins\/gdrive\/assets\/service_72.png"
+            }
+        }
+    ],
+    "url": "wss:\/\/mpmulti-9ry9.slack-msgs.com\/websocket\/U4n-6Yw8mpc9C64E74gYXGbojir25QCCcLJ9eK57KDURr0o5so6x4qZU-pKn-LX0bYt-ZmIaFcN4TxoKPry1eRtOwiCNSyGyIGxnYrUtrsvMvkFr5C2-osZVL85WqzIWRoE00sBma3U8BkKfi8oUmMoYGKFFVeJ2WPI_ygHRPOo="
+}
-- 
cgit