export interface UserChangeEvent { type?: string; user?: User; cache_ts?: number; } export interface User { id?: string; team_id?: string; name?: string; deleted?: boolean; color?: string; real_name?: string; tz?: string; tz_label?: string; tz_offset?: number; profile?: Profile; is_admin?: boolean; is_owner?: boolean; is_primary_owner?: boolean; is_invited_user?: boolean; is_restricted?: boolean; is_ultra_restricted?: boolean; is_bot?: boolean; is_stranger?: boolean; is_app_user?: boolean; updated?: number; has_2fa?: boolean; is_email_confirmed?: boolean; presence?: string; enterprise_user?: EnterpriseUser; two_factor_type?: string; has_files?: boolean; locale?: string; is_workflow_bot?: boolean; who_can_share_contact_card?: string; } export interface EnterpriseUser { id?: string; enterprise_id?: string; enterprise_name?: string; is_primary_owner?: boolean; is_admin?: boolean; is_owner?: boolean; teams?: any[]; } export interface Profile { guest_channels?: string; guest_invited_by?: string; guest_expiration_ts?: number; avatar_hash?: string; status_text?: string; status_text_canonical?: string; status_emoji?: string; status_emoji_url?: string; status_expiration?: number; display_name?: string; display_name_normalized?: string; real_name?: string; real_name_normalized?: string; bot_id?: string; title?: string; email?: string; skype?: string; phone?: string; team?: string; api_app_id?: string; always_active?: boolean; image_original?: string; image_24?: string; image_32?: string; image_48?: string; image_72?: string; image_192?: string; image_512?: string; image_1024?: string; is_custom_image?: boolean; pronouns?: string; status_emoji_display_info?: any[]; huddle_state?: string; huddle_state_expiration_ts?: number; first_name?: string; last_name?: string; }