Versions in this module Expand all Collapse all v5 v5.31.1 Dec 23, 2020 Changes in this version + const ACCESS_TOKEN_GRANT_TYPE + const ACCESS_TOKEN_TYPE + const ADVANCED_PERMISSIONS_MIGRATION_KEY + const ALLOW_EDIT_POST_ALWAYS + const ALLOW_EDIT_POST_NEVER + const ALLOW_EDIT_POST_TIME_LIMIT + const ANALYTICS_SETTINGS_DEFAULT_MAX_USERS_FOR_STATISTICS + const ANNOUNCEMENT_SETTINGS_DEFAULT_BANNER_COLOR + const ANNOUNCEMENT_SETTINGS_DEFAULT_BANNER_TEXT_COLOR + const ANNOUNCEMENT_SETTINGS_DEFAULT_NOTICES_FETCH_FREQUENCY_SECONDS + const ANNOUNCEMENT_SETTINGS_DEFAULT_NOTICES_JSON_URL + const API_URL_SUFFIX + const API_URL_SUFFIX_V1 + const API_URL_SUFFIX_V4 + const AUTHCODE_EXPIRE_TIME + const AUTHCODE_RESPONSE_TYPE + const AUTO_RESPONDER_ACTIVE_NOTIFY_PROP + const AUTO_RESPONDER_MESSAGE_NOTIFY_PROP + const AWS_METERING_DIMENSION_USAGE_HRS + const AWS_METERING_REPORT_INTERVAL + const BLEVE_SETTINGS_DEFAULT_BULK_INDEXING_TIME_WINDOW_SECONDS + const BLEVE_SETTINGS_DEFAULT_INDEX_DIR + const BOT_CREATOR_ID_MAX_RUNES + const BOT_DESCRIPTION_MAX_RUNES + const BOT_DISPLAY_NAME_MAX_RUNES + const BOT_WARN_METRIC_BOT_USERNAME + const CATEGORY_CAN_REPLY + const CDS_OFFLINE_AFTER_MILLIS + const CDS_TYPE_APP + const CHANNEL_ADMIN_ROLE_ID + const CHANNEL_CACHE_SIZE + const CHANNEL_DIRECT + const CHANNEL_DISPLAY_NAME_MAX_RUNES + const CHANNEL_GROUP + const CHANNEL_GROUP_MAX_USERS + const CHANNEL_GROUP_MIN_USERS + const CHANNEL_GUEST_ROLE_ID + const CHANNEL_HEADER_MAX_RUNES + const CHANNEL_MARK_UNREAD_ALL + const CHANNEL_MARK_UNREAD_MENTION + const CHANNEL_MENTIONS_NOTIFY_PROP + const CHANNEL_NAME_MAX_LENGTH + const CHANNEL_NAME_MIN_LENGTH + const CHANNEL_NOTIFY_ALL + const CHANNEL_NOTIFY_DEFAULT + const CHANNEL_NOTIFY_MENTION + const CHANNEL_NOTIFY_NONE + const CHANNEL_OPEN + const CHANNEL_PRIVATE + const CHANNEL_PURPOSE_MAX_RUNES + const CHANNEL_SEARCH_DEFAULT_LIMIT + const CHANNEL_SORT_BY_STATUS + const CHANNEL_SORT_BY_USERNAME + const CHANNEL_USER_ROLE_ID + const CLIENT_DIR + const CLIENT_SIDE_CERT_CHECK_PRIMARY_AUTH + const CLIENT_SIDE_CERT_CHECK_SECONDARY_AUTH + const CLOUD_SETTINGS_DEFAULT_CWS_URL + const CLUSTER_EVENT_BUSY_STATE_CHANGED + const CLUSTER_EVENT_CLEAR_SESSION_CACHE_FOR_ALL_USERS + const CLUSTER_EVENT_CLEAR_SESSION_CACHE_FOR_USER + const CLUSTER_EVENT_INSTALL_PLUGIN + const CLUSTER_EVENT_INVALIDATE_ALL_CACHES + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_CHANNEL + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_CHANNEL_BY_NAME + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_CHANNEL_GUEST_COUNT + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_CHANNEL_MEMBERS + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_CHANNEL_MEMBERS_NOTIFY_PROPS + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_CHANNEL_MEMBER_COUNTS + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_CHANNEL_PINNEDPOSTS_COUNTS + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_CHANNEL_POSTS + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_EMOJIS_BY_ID + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_EMOJIS_ID_BY_NAME + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_FILE_INFOS + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_LAST_POSTS + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_LAST_POST_TIME + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_PROFILE_BY_IDS + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_PROFILE_IN_CHANNEL + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_REACTIONS + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_ROLES + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_ROLE_PERMISSIONS + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_SCHEMES + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_TEAMS + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_TERMS_OF_SERVICE + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_USER + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_USER_TEAMS + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_WEBHOOK + const CLUSTER_EVENT_INVALIDATE_CACHE_FOR_WEBHOOKS + const CLUSTER_EVENT_PUBLISH + const CLUSTER_EVENT_REMOVE_PLUGIN + const CLUSTER_EVENT_UPDATE_STATUS + const CLUSTER_GOSSIP_EVENT_REQUEST_GET_CLUSTER_STATS + const CLUSTER_GOSSIP_EVENT_REQUEST_GET_LOGS + const CLUSTER_GOSSIP_EVENT_REQUEST_GET_PLUGIN_STATUSES + const CLUSTER_GOSSIP_EVENT_REQUEST_SAVE_CONFIG + const CLUSTER_GOSSIP_EVENT_RESPONSE_GET_CLUSTER_STATS + const CLUSTER_GOSSIP_EVENT_RESPONSE_GET_LOGS + const CLUSTER_GOSSIP_EVENT_RESPONSE_GET_PLUGIN_STATUSES + const CLUSTER_GOSSIP_EVENT_RESPONSE_SAVE_CONFIG + const CLUSTER_SEND_BEST_EFFORT + const CLUSTER_SEND_RELIABLE + const COLLAPSED_THREADS_DEFAULT_OFF + const COLLAPSED_THREADS_DEFAULT_ON + const COLLAPSED_THREADS_DISABLED + const COMMAND_METHOD_GET + const COMMAND_METHOD_POST + const COMMAND_RESPONSE_TYPE_EPHEMERAL + const COMMAND_RESPONSE_TYPE_IN_CHANNEL + const COMMAND_WEBHOOK_LIFETIME + const COMMENTS_NOTIFY_ANY + const COMMENTS_NOTIFY_NEVER + const COMMENTS_NOTIFY_PROP + const COMMENTS_NOTIFY_ROOT + const COMPLIANCE_EXPORT_TYPE_ACTIANCE + const COMPLIANCE_EXPORT_TYPE_CSV + const COMPLIANCE_EXPORT_TYPE_GLOBALRELAY + const COMPLIANCE_EXPORT_TYPE_GLOBALRELAY_ZIP + const COMPLIANCE_STATUS_CREATED + const COMPLIANCE_STATUS_FAILED + const COMPLIANCE_STATUS_FINISHED + const COMPLIANCE_STATUS_REMOVED + const COMPLIANCE_STATUS_RUNNING + const COMPLIANCE_TYPE_ADHOC + const COMPLIANCE_TYPE_DAILY + const CONN_SECURITY_NONE + const CONN_SECURITY_PLAIN + const CONN_SECURITY_STARTTLS + const CONN_SECURITY_TLS + const ConfigAccessTagCloudRestrictable + const ConfigAccessTagType + const ConfigAccessTagWriteRestrictable + const DATABASE_DRIVER_MYSQL + const DATABASE_DRIVER_POSTGRES + const DATABASE_DRIVER_SQLITE + const DATA_RETENTION_SETTINGS_DEFAULT_DELETION_JOB_START_TIME + const DATA_RETENTION_SETTINGS_DEFAULT_FILE_RETENTION_DAYS + const DATA_RETENTION_SETTINGS_DEFAULT_MESSAGE_RETENTION_DAYS + const DEFAULT_CHANNEL + const DEFAULT_LOCALE + const DEFAULT_SCOPE + const DEFAULT_WEBHOOK_USERNAME + const DESKTOP_NOTIFY_PROP + const DESKTOP_SOUND_NOTIFY_PROP + const DIRECT_MESSAGE_ANY + const DIRECT_MESSAGE_TEAM + const DefaultSidebarSortOrderChannels + const DefaultSidebarSortOrderDMs + const DefaultSidebarSortOrderFavorites + const ELASTICSEARCH_SETTINGS_DEFAULT_AGGREGATE_POSTS_AFTER_DAYS + const ELASTICSEARCH_SETTINGS_DEFAULT_BULK_INDEXING_TIME_WINDOW_SECONDS + const ELASTICSEARCH_SETTINGS_DEFAULT_CHANNEL_INDEX_REPLICAS + const ELASTICSEARCH_SETTINGS_DEFAULT_CHANNEL_INDEX_SHARDS + const ELASTICSEARCH_SETTINGS_DEFAULT_CONNECTION_URL + const ELASTICSEARCH_SETTINGS_DEFAULT_INDEX_PREFIX + const ELASTICSEARCH_SETTINGS_DEFAULT_LIVE_INDEXING_BATCH_SIZE + const ELASTICSEARCH_SETTINGS_DEFAULT_PASSWORD + const ELASTICSEARCH_SETTINGS_DEFAULT_POSTS_AGGREGATOR_JOB_START_TIME + const ELASTICSEARCH_SETTINGS_DEFAULT_POST_INDEX_REPLICAS + const ELASTICSEARCH_SETTINGS_DEFAULT_POST_INDEX_SHARDS + const ELASTICSEARCH_SETTINGS_DEFAULT_REQUEST_TIMEOUT_SECONDS + const ELASTICSEARCH_SETTINGS_DEFAULT_USERNAME + const ELASTICSEARCH_SETTINGS_DEFAULT_USER_INDEX_REPLICAS + const ELASTICSEARCH_SETTINGS_DEFAULT_USER_INDEX_SHARDS + const EMAIL_BATCHING_BUFFER_SIZE + const EMAIL_BATCHING_INTERVAL + const EMAIL_NOTIFICATION_CONTENTS_FULL + const EMAIL_NOTIFICATION_CONTENTS_GENERIC + const EMAIL_NOTIFY_PROP + const EMAIL_SETTINGS_DEFAULT_FEEDBACK_ORGANIZATION + const EMOJI_NAME_MAX_LENGTH + const EMOJI_SORT_BY_NAME + const EXPERIMENTAL_SETTINGS_DEFAULT_LINK_METADATA_TIMEOUT_MILLISECONDS + const EXPIRED_LICENSE_ERROR + const EventTypeFailedPayment + const EventTypeFailedPaymentNoCard + const FAKE_SETTING + const FILEINFO_SORT_BY_CREATED + const FILEINFO_SORT_BY_SIZE + const FILE_SETTINGS_DEFAULT_DIRECTORY + const FIRST_NAME_NOTIFY_PROP + const FULL_NOTIFICATION + const GENERIC_NOTIFICATION + const GENERIC_NOTIFICATION_SERVER + const GENERIC_NO_CHANNEL_NOTIFICATION + const GLOBALRELAY_CUSTOMER_TYPE_A10 + const GLOBALRELAY_CUSTOMER_TYPE_A9 + const GOOGLE_SETTINGS_DEFAULT_AUTH_ENDPOINT + const GOOGLE_SETTINGS_DEFAULT_SCOPE + const GOOGLE_SETTINGS_DEFAULT_TOKEN_ENDPOINT + const GOOGLE_SETTINGS_DEFAULT_USER_API_ENDPOINT + const GROUP_UNREAD_CHANNELS_DEFAULT_OFF + const GROUP_UNREAD_CHANNELS_DEFAULT_ON + const GROUP_UNREAD_CHANNELS_DISABLED + const GroupDescriptionMaxLength + const GroupDisplayNameMaxLength + const GroupNameMaxLength + const GroupRemoteIDMaxLength + const GroupSourceLdap + const GroupSourceMaxLength + const HEADER_AUTH + const HEADER_BEARER + const HEADER_CLOUD_TOKEN + const HEADER_CLUSTER_ID + const HEADER_CSRF_TOKEN + const HEADER_ETAG_CLIENT + const HEADER_ETAG_SERVER + const HEADER_FORWARDED + const HEADER_FORWARDED_PROTO + const HEADER_REAL_IP + const HEADER_REQUESTED_WITH + const HEADER_REQUESTED_WITH_XML + const HEADER_REQUEST_ID + const HEADER_TOKEN + const HEADER_VERSION_ID + const ID_LOADED_NOTIFICATION + const IGNORE_CHANNEL_MENTIONS_DEFAULT + const IGNORE_CHANNEL_MENTIONS_NOTIFY_PROP + const IGNORE_CHANNEL_MENTIONS_OFF + const IGNORE_CHANNEL_MENTIONS_ON + const IMAGE_DRIVER_LOCAL + const IMAGE_DRIVER_S3 + const IMAGE_PROXY_TYPE_ATMOS_CAMO + const IMAGE_PROXY_TYPE_LOCAL + const IMPLICIT_RESPONSE_TYPE + const IMPORT_SETTINGS_DEFAULT_DIRECTORY + const IMPORT_SETTINGS_DEFAULT_RETENTION_DAYS + const INTERACTIVE_DIALOG_TRIGGER_TIMEOUT_MILLISECONDS + const INVALID_LICENSE_ERROR + const JOB_STATUS_CANCELED + const JOB_STATUS_CANCEL_REQUESTED + const JOB_STATUS_ERROR + const JOB_STATUS_IN_PROGRESS + const JOB_STATUS_PENDING + const JOB_STATUS_SUCCESS + const JOB_STATUS_WARNING + const JOB_TYPE_ACTIVE_USERS + const JOB_TYPE_BLEVE_POST_INDEXING + const JOB_TYPE_CLOUD + const JOB_TYPE_DATA_RETENTION + const JOB_TYPE_ELASTICSEARCH_POST_AGGREGATION + const JOB_TYPE_ELASTICSEARCH_POST_INDEXING + const JOB_TYPE_EXPIRY_NOTIFY + const JOB_TYPE_IMPORT_PROCESS + const JOB_TYPE_LDAP_SYNC + const JOB_TYPE_MESSAGE_EXPORT + const JOB_TYPE_MIGRATIONS + const JOB_TYPE_PLUGINS + const JOB_TYPE_PRODUCT_NOTICES + const KEY_VALUE_KEY_MAX_RUNES + const KEY_VALUE_PLUGIN_ID_MAX_RUNES + const LDAP_PRIVATE_KEY_NAME + const LDAP_PUBLIC_CERTIFICATE_NAME + const LDAP_SETTINGS_DEFAULT_EMAIL_ATTRIBUTE + const LDAP_SETTINGS_DEFAULT_FIRST_NAME_ATTRIBUTE + const LDAP_SETTINGS_DEFAULT_GROUP_DISPLAY_NAME_ATTRIBUTE + const LDAP_SETTINGS_DEFAULT_GROUP_ID_ATTRIBUTE + const LDAP_SETTINGS_DEFAULT_ID_ATTRIBUTE + const LDAP_SETTINGS_DEFAULT_LAST_NAME_ATTRIBUTE + const LDAP_SETTINGS_DEFAULT_LOGIN_FIELD_NAME + const LDAP_SETTINGS_DEFAULT_NICKNAME_ATTRIBUTE + const LDAP_SETTINGS_DEFAULT_PICTURE_ATTRIBUTE + const LDAP_SETTINGS_DEFAULT_POSITION_ATTRIBUTE + const LDAP_SETTINGS_DEFAULT_USERNAME_ATTRIBUTE + const LICENSE_GRACE_PERIOD + const LICENSE_RENEWAL_LINK + const LINK_METADATA_TYPE_IMAGE + const LINK_METADATA_TYPE_NONE + const LINK_METADATA_TYPE_OPENGRAPH + const LOCAL_MODE_SOCKET_PATH + const LOWERCASE_LETTERS + const MARK_UNREAD_NOTIFY_PROP + const MAX_IMAGES + const MAX_TOKEN_EXIPRY_TIME + const MAX_TRIGGER_LENGTH + const ME + const MENTION_KEYS_NOTIFY_PROP + const MHPNS + const MIGRATION_KEY_ADD_BILLING_PERMISSIONS + const MIGRATION_KEY_ADD_BOT_PERMISSIONS + const MIGRATION_KEY_ADD_CONVERT_CHANNEL_PERMISSIONS + const MIGRATION_KEY_ADD_MANAGE_GUESTS_PERMISSIONS + const MIGRATION_KEY_ADD_MANAGE_REMOTE_CLUSTERS_PERMISSIONS + const MIGRATION_KEY_ADD_MANAGE_SHARED_CHANNEL_PERMISSIONS + const MIGRATION_KEY_ADD_SYSTEM_CONSOLE_PERMISSIONS + const MIGRATION_KEY_ADD_SYSTEM_ROLES_PERMISSIONS + const MIGRATION_KEY_ADD_USE_GROUP_MENTIONS_PERMISSION + const MIGRATION_KEY_ADVANCED_PERMISSIONS_PHASE_2 + const MIGRATION_KEY_APPLY_CHANNEL_MANAGE_DELETE_TO_CHANNEL_USER + const MIGRATION_KEY_CHANNEL_MODERATIONS_PERMISSIONS + const MIGRATION_KEY_EMOJI_PERMISSIONS_SPLIT + const MIGRATION_KEY_LIST_JOIN_PUBLIC_PRIVATE_TEAMS + const MIGRATION_KEY_REMOVE_CHANNEL_MANAGE_DELETE_FROM_TEAM_USER + const MIGRATION_KEY_REMOVE_PERMANENT_DELETE_USER + const MIGRATION_KEY_SIDEBAR_CATEGORIES_PHASE_2 + const MIGRATION_KEY_VIEW_MEMBERS_NEW_PERMISSION + const MIGRATION_KEY_WEBHOOK_PERMISSIONS_SPLIT + const MINIO_ACCESS_KEY + const MINIO_BUCKET + const MINIO_SECRET_KEY + const MIN_TRIGGER_LENGTH + const MM_SUPPORT_ADVISOR_ADDRESS + const MaxIdLength + const MaxImageSize + const MinIdLength + const MinimalSidebarSortDistance + const NATIVEAPP_SETTINGS_DEFAULT_ANDROID_APP_DOWNLOAD_LINK + const NATIVEAPP_SETTINGS_DEFAULT_APP_DOWNLOAD_LINK + const NATIVEAPP_SETTINGS_DEFAULT_IOS_APP_DOWNLOAD_LINK + const NUMBERS + const OAUTH_ACTION_EMAIL_TO_SSO + const OAUTH_ACTION_LOGIN + const OAUTH_ACTION_MOBILE + const OAUTH_ACTION_SIGNUP + const OAUTH_ACTION_SSO_TO_EMAIL + const OFFICE365_SETTINGS_DEFAULT_AUTH_ENDPOINT + const OFFICE365_SETTINGS_DEFAULT_SCOPE + const OFFICE365_SETTINGS_DEFAULT_TOKEN_ENDPOINT + const OFFICE365_SETTINGS_DEFAULT_USER_API_ENDPOINT + const OPENID_SETTINGS_DEFAULT_SCOPE + const OUTGOING_HOOK_RESPONSE_TYPE_COMMENT + const OVER_USER_LIMIT_FORGIVEN_COUNT + const OVER_USER_LIMIT_LAST_EMAIL_SENT + const PASSWORD_MAXIMUM_LENGTH + const PASSWORD_MINIMUM_LENGTH + const PERMISSIONS_ALL + const PERMISSIONS_CHANNEL_ADMIN + const PERMISSIONS_DELETE_POST_ALL + const PERMISSIONS_DELETE_POST_SYSTEM_ADMIN + const PERMISSIONS_DELETE_POST_TEAM_ADMIN + const PERMISSIONS_SYSTEM_ADMIN + const PERMISSIONS_TEAM_ADMIN + const PING_TIMEOUT_BUFFER_SECONDS + const PLUGIN_SETTINGS_DEFAULT_CLIENT_DIRECTORY + const PLUGIN_SETTINGS_DEFAULT_DIRECTORY + const PLUGIN_SETTINGS_DEFAULT_ENABLE_MARKETPLACE + const PLUGIN_SETTINGS_DEFAULT_MARKETPLACE_URL + const PLUGIN_SETTINGS_OLD_MARKETPLACE_URL + const POST_ACTION_TYPE_BUTTON + const POST_ACTION_TYPE_SELECT + const POST_ADD_BOT_TEAMS_CHANNELS + const POST_ADD_GUEST_TO_CHANNEL + const POST_ADD_REMOVE + const POST_ADD_TO_CHANNEL + const POST_ADD_TO_TEAM + const POST_AUTO_RESPONDER + const POST_CHANGE_CHANNEL_PRIVACY + const POST_CHANNEL_DELETED + const POST_CHANNEL_RESTORED + const POST_CONVERT_CHANNEL + const POST_CUSTOM_TYPE_PREFIX + const POST_DEFAULT + const POST_DISPLAYNAME_CHANGE + const POST_EPHEMERAL + const POST_FILEIDS_MAX_RUNES + const POST_FILENAMES_MAX_RUNES + const POST_GUEST_JOIN_CHANNEL + const POST_HASHTAGS_MAX_RUNES + const POST_HEADER_CHANGE + const POST_JOIN_CHANNEL + const POST_JOIN_LEAVE + const POST_JOIN_TEAM + const POST_LEAVE_CHANNEL + const POST_LEAVE_TEAM + const POST_MAX_FILES + const POST_ME + const POST_MESSAGE_MAX_BYTES_V2 + const POST_MESSAGE_MAX_RUNES_V1 + const POST_MESSAGE_MAX_RUNES_V2 + const POST_MOVE_CHANNEL + const POST_PROPS_ADDED_USER_ID + const POST_PROPS_DELETE_BY + const POST_PROPS_GROUP_HIGHLIGHT_DISABLED + const POST_PROPS_MAX_RUNES + const POST_PROPS_MAX_USER_RUNES + const POST_PROPS_MENTION_HIGHLIGHT_DISABLED + const POST_PROPS_OVERRIDE_ICON_EMOJI + const POST_PROPS_OVERRIDE_ICON_URL + const POST_PURPOSE_CHANGE + const POST_REMOVE_FROM_CHANNEL + const POST_REMOVE_FROM_TEAM + const POST_SLACK_ATTACHMENT + const POST_SYSTEM_GENERIC + const POST_SYSTEM_MESSAGE_PREFIX + const POST_SYSTEM_WARN_METRIC_STATUS + const PREFERENCE_CATEGORY_ADVANCED_SETTINGS + const PREFERENCE_CATEGORY_AUTHORIZED_OAUTH_APP + const PREFERENCE_CATEGORY_COLLAPSED_THREADS_SETTINGS + const PREFERENCE_CATEGORY_DIRECT_CHANNEL_SHOW + const PREFERENCE_CATEGORY_DISPLAY_SETTINGS + const PREFERENCE_CATEGORY_FAVORITE_CHANNEL + const PREFERENCE_CATEGORY_FLAGGED_POST + const PREFERENCE_CATEGORY_GROUP_CHANNEL_SHOW + const PREFERENCE_CATEGORY_LAST + const PREFERENCE_CATEGORY_NOTIFICATIONS + const PREFERENCE_CATEGORY_SIDEBAR_SETTINGS + const PREFERENCE_CATEGORY_THEME + const PREFERENCE_CATEGORY_TUTORIAL_STEPS + const PREFERENCE_EMAIL_INTERVAL_BATCHING_SECONDS + const PREFERENCE_EMAIL_INTERVAL_FIFTEEN + const PREFERENCE_EMAIL_INTERVAL_FIFTEEN_AS_SECONDS + const PREFERENCE_EMAIL_INTERVAL_HOUR + const PREFERENCE_EMAIL_INTERVAL_HOUR_AS_SECONDS + const PREFERENCE_EMAIL_INTERVAL_IMMEDIATELY + const PREFERENCE_EMAIL_INTERVAL_NO_BATCHING_SECONDS + const PREFERENCE_NAME_CHANNEL_DISPLAY_MODE + const PREFERENCE_NAME_COLLAPSED_THREADS_ENABLED + const PREFERENCE_NAME_COLLAPSE_SETTING + const PREFERENCE_NAME_EMAIL_INTERVAL + const PREFERENCE_NAME_LAST_CHANNEL + const PREFERENCE_NAME_LAST_TEAM + const PREFERENCE_NAME_MESSAGE_DISPLAY + const PREFERENCE_NAME_NAME_FORMAT + const PREFERENCE_NAME_USE_MILITARY_TIME + const PROPS_ADD_CHANNEL_MEMBER + const PUSH_MESSAGE_V2 + const PUSH_NOTIFY_ANDROID + const PUSH_NOTIFY_ANDROID_REACT_NATIVE + const PUSH_NOTIFY_APPLE + const PUSH_NOTIFY_APPLE_REACT_NATIVE + const PUSH_NOTIFY_PROP + const PUSH_NOT_SENT + const PUSH_RECEIVED + const PUSH_SEND_PREPARE + const PUSH_SEND_SUCCESS + const PUSH_SOUND_NONE + const PUSH_STATUS + const PUSH_STATUS_ERROR_MSG + const PUSH_STATUS_FAIL + const PUSH_STATUS_NOTIFY_PROP + const PUSH_STATUS_OK + const PUSH_STATUS_REMOVE + const PUSH_TYPE_CLEAR + const PUSH_TYPE_MESSAGE + const PUSH_TYPE_SESSION + const PUSH_TYPE_UPDATE_BADGE + const PermissionScopeChannel + const PermissionScopeSystem + const PermissionScopeTeam + const PluginStateFailedToStart + const PluginStateFailedToStayRunning + const PluginStateNotRunning + const PluginStateRunning + const PluginStateStarting + const PluginStateStopping + const REFRESH_TOKEN_GRANT_TYPE + const RESTRICT_EMOJI_CREATION_ADMIN + const RESTRICT_EMOJI_CREATION_ALL + const RESTRICT_EMOJI_CREATION_SYSTEM_ADMIN + const ROLE_DESCRIPTION_MAX_LENGTH + const ROLE_DISPLAY_NAME_MAX_LENGTH + const ROLE_NAME_MAX_LENGTH + const RoleScopeChannel + const RoleScopeSystem + const RoleScopeTeam + const RoleTypeAdmin + const RoleTypeGuest + const RoleTypeUser + const SAML_SETTINGS_CANONICAL_ALGORITHM_C14N + const SAML_SETTINGS_CANONICAL_ALGORITHM_C14N11 + const SAML_SETTINGS_DEFAULT_ADMIN_ATTRIBUTE + const SAML_SETTINGS_DEFAULT_CANONICAL_ALGORITHM + const SAML_SETTINGS_DEFAULT_EMAIL_ATTRIBUTE + const SAML_SETTINGS_DEFAULT_FIRST_NAME_ATTRIBUTE + const SAML_SETTINGS_DEFAULT_GUEST_ATTRIBUTE + const SAML_SETTINGS_DEFAULT_ID_ATTRIBUTE + const SAML_SETTINGS_DEFAULT_LAST_NAME_ATTRIBUTE + const SAML_SETTINGS_DEFAULT_LOCALE_ATTRIBUTE + const SAML_SETTINGS_DEFAULT_NICKNAME_ATTRIBUTE + const SAML_SETTINGS_DEFAULT_POSITION_ATTRIBUTE + const SAML_SETTINGS_DEFAULT_SIGNATURE_ALGORITHM + const SAML_SETTINGS_DEFAULT_USERNAME_ATTRIBUTE + const SAML_SETTINGS_SIGNATURE_ALGORITHM_SHA1 + const SAML_SETTINGS_SIGNATURE_ALGORITHM_SHA256 + const SAML_SETTINGS_SIGNATURE_ALGORITHM_SHA512 + const SCHEME_DESCRIPTION_MAX_LENGTH + const SCHEME_DISPLAY_NAME_MAX_LENGTH + const SCHEME_NAME_MAX_LENGTH + const SCHEME_SCOPE_CHANNEL + const SCHEME_SCOPE_TEAM + const SERVICE_GITLAB + const SERVICE_GOOGLE + const SERVICE_OFFICE365 + const SERVICE_OPENID + const SERVICE_SETTINGS_DEFAULT_ALLOW_CORS_FROM + const SERVICE_SETTINGS_DEFAULT_GFYCAT_API_KEY + const SERVICE_SETTINGS_DEFAULT_GFYCAT_API_SECRET + const SERVICE_SETTINGS_DEFAULT_IDLE_TIMEOUT + const SERVICE_SETTINGS_DEFAULT_LISTEN_AND_ADDRESS + const SERVICE_SETTINGS_DEFAULT_MAX_LOGIN_ATTEMPTS + const SERVICE_SETTINGS_DEFAULT_READ_TIMEOUT + const SERVICE_SETTINGS_DEFAULT_SITE_URL + const SERVICE_SETTINGS_DEFAULT_TLS_CERT_FILE + const SERVICE_SETTINGS_DEFAULT_TLS_KEY_FILE + const SERVICE_SETTINGS_DEFAULT_WRITE_TIMEOUT + const SESSION_ACTIVITY_TIMEOUT + const SESSION_CACHE_SIZE + const SESSION_COOKIE_CSRF + const SESSION_COOKIE_TOKEN + const SESSION_COOKIE_USER + const SESSION_PROP_BROWSER + const SESSION_PROP_IS_BOT + const SESSION_PROP_IS_BOT_VALUE + const SESSION_PROP_IS_GUEST + const SESSION_PROP_OS + const SESSION_PROP_PLATFORM + const SESSION_PROP_TYPE + const SESSION_PROP_USER_ACCESS_TOKEN_ID + const SESSION_TYPE_CLOUD_KEY + const SESSION_TYPE_USER_ACCESS_TOKEN + const SESSION_USER_ACCESS_TOKEN_EXPIRY + const SHOW_FULLNAME + const SHOW_NICKNAME_FULLNAME + const SHOW_USERNAME + const SITENAME_MAX_LENGTH + const SOCKET_MAX_MESSAGE_SIZE_KB + const SQL_SETTINGS_DEFAULT_DATA_SOURCE + const STATUS + const STATUS_AWAY + const STATUS_CACHE_SIZE + const STATUS_CHANNEL_TIMEOUT + const STATUS_DND + const STATUS_FAIL + const STATUS_MIN_UPDATE_TIME + const STATUS_OFFLINE + const STATUS_OK + const STATUS_ONLINE + const STATUS_OUT_OF_OFFICE + const STATUS_REMOVE + const STATUS_UNHEALTHY + const SUPPORT_SETTINGS_DEFAULT_ABOUT_LINK + const SUPPORT_SETTINGS_DEFAULT_HELP_LINK + const SUPPORT_SETTINGS_DEFAULT_PRIVACY_POLICY_LINK + const SUPPORT_SETTINGS_DEFAULT_REPORT_A_PROBLEM_LINK + const SUPPORT_SETTINGS_DEFAULT_RE_ACCEPTANCE_PERIOD + const SUPPORT_SETTINGS_DEFAULT_SUPPORT_EMAIL + const SUPPORT_SETTINGS_DEFAULT_TERMS_OF_SERVICE_LINK + const SYMBOLS + const SYSTEM_ACTIVE_LICENSE_ID + const SYSTEM_ADMIN_ROLE_ID + const SYSTEM_ASYMMETRIC_SIGNING_KEY + const SYSTEM_CLUSTER_ENCRYPTION_KEY + const SYSTEM_FIRST_SERVER_RUN_TIMESTAMP_KEY + const SYSTEM_GUEST_ROLE_ID + const SYSTEM_INSTALLATION_DATE_KEY + const SYSTEM_LAST_COMPLIANCE_TIME + const SYSTEM_LAST_SECURITY_TIME + const SYSTEM_LICENSE_RENEWAL_TOKEN + const SYSTEM_MANAGER_ROLE_ID + const SYSTEM_POST_ACTION_COOKIE_SECRET + const SYSTEM_POST_ALL_PUBLIC_ROLE_ID + const SYSTEM_POST_ALL_ROLE_ID + const SYSTEM_RAN_UNIT_TESTS + const SYSTEM_READ_ONLY_ADMIN_ROLE_ID + const SYSTEM_TELEMETRY_ID + const SYSTEM_UPGRADED_FROM_TE_ID + const SYSTEM_USER_ACCESS_TOKEN_ROLE_ID + const SYSTEM_USER_MANAGER_ROLE_ID + const SYSTEM_USER_ROLE_ID + const SYSTEM_WARN_METRIC_EMAIL_DOMAIN + const SYSTEM_WARN_METRIC_LAST_RUN_TIMESTAMP_KEY + const SYSTEM_WARN_METRIC_MFA + const SYSTEM_WARN_METRIC_NUMBER_OF_ACTIVE_USERS_100 + const SYSTEM_WARN_METRIC_NUMBER_OF_ACTIVE_USERS_200 + const SYSTEM_WARN_METRIC_NUMBER_OF_ACTIVE_USERS_300 + const SYSTEM_WARN_METRIC_NUMBER_OF_ACTIVE_USERS_500 + const SYSTEM_WARN_METRIC_NUMBER_OF_CHANNELS_50 + const SYSTEM_WARN_METRIC_NUMBER_OF_POSTS_2M + const SYSTEM_WARN_METRIC_NUMBER_OF_TEAMS_5 + const SidebarCategoryChannels + const SidebarCategoryCustom + const SidebarCategoryDirectMessages + const SidebarCategoryFavorites + const SidebarCategorySortAlphabetical + const SidebarCategorySortDefault + const SidebarCategorySortManual + const SidebarCategorySortRecent + const TEAM_ADMIN_ROLE_ID + const TEAM_ALLOWED_DOMAINS_MAX_LENGTH + const TEAM_COMPANY_NAME_MAX_LENGTH + const TEAM_DESCRIPTION_MAX_LENGTH + const TEAM_DISPLAY_NAME_MAX_RUNES + const TEAM_EMAIL_MAX_LENGTH + const TEAM_GUEST_ROLE_ID + const TEAM_INVITE + const TEAM_NAME_MAX_LENGTH + const TEAM_NAME_MIN_LENGTH + const TEAM_OPEN + const TEAM_POST_ALL_PUBLIC_ROLE_ID + const TEAM_POST_ALL_ROLE_ID + const TEAM_SETTINGS_DEFAULT_CUSTOM_BRAND_TEXT + const TEAM_SETTINGS_DEFAULT_CUSTOM_DESCRIPTION_TEXT + const TEAM_SETTINGS_DEFAULT_MAX_USERS_PER_TEAM + const TEAM_SETTINGS_DEFAULT_SITE_NAME + const TEAM_SETTINGS_DEFAULT_TEAM_TEXT + const TEAM_SETTINGS_DEFAULT_USER_STATUS_AWAY_TIMEOUT + const TEAM_USER_ROLE_ID + const TERMS_OF_SERVICE_CACHE_SIZE + const TOKEN_SIZE + const TOKEN_TYPE_OAUTH + const UPPERCASE_LETTERS + const USERNAME + const USER_AUTH_DATA_MAX_LENGTH + const USER_AUTH_SERVICE_EMAIL + const USER_AUTH_SERVICE_GITLAB + const USER_AUTH_SERVICE_IS_MOBILE + const USER_AUTH_SERVICE_IS_OAUTH + const USER_AUTH_SERVICE_IS_SAML + const USER_AUTH_SERVICE_LDAP + const USER_AUTH_SERVICE_SAML + const USER_AUTH_SERVICE_SAML_TEXT + const USER_EMAIL_MAX_LENGTH + const USER_FIRST_NAME_MAX_RUNES + const USER_LAST_NAME_MAX_RUNES + const USER_LIMIT_OVERAGE_CYCLE_END_DATE + const USER_LOCALE_MAX_LENGTH + const USER_NAME_MAX_LENGTH + const USER_NAME_MIN_LENGTH + const USER_NICKNAME_MAX_RUNES + const USER_NOTIFY_ALL + const USER_NOTIFY_HERE + const USER_NOTIFY_MENTION + const USER_NOTIFY_NONE + const USER_PASSWORD_MAX_LENGTH + const USER_POSITION_MAX_RUNES + const USER_SEARCH_DEFAULT_LIMIT + const USER_SEARCH_MAX_LIMIT + const UploadNoUserID + const ValidIdRegex + const WARN_METRIC_JOB_INTERVAL + const WARN_METRIC_JOB_WAIT_TIME + const WARN_METRIC_NUMBER_OF_ACTIVE_USERS_25 + const WARN_METRIC_STATUS_ACK + const WARN_METRIC_STATUS_LIMIT_REACHED + const WARN_METRIC_STATUS_RUNONCE + const WARN_METRIC_STATUS_STORE_PREFIX + const WEBSOCKET_AUTHENTICATION_CHALLENGE + const WEBSOCKET_EVENT_ADDED_TO_TEAM + const WEBSOCKET_EVENT_CHANNEL_CONVERTED + const WEBSOCKET_EVENT_CHANNEL_CREATED + const WEBSOCKET_EVENT_CHANNEL_DELETED + const WEBSOCKET_EVENT_CHANNEL_MEMBER_UPDATED + const WEBSOCKET_EVENT_CHANNEL_RESTORED + const WEBSOCKET_EVENT_CHANNEL_SCHEME_UPDATED + const WEBSOCKET_EVENT_CHANNEL_UPDATED + const WEBSOCKET_EVENT_CHANNEL_VIEWED + const WEBSOCKET_EVENT_CLOUD_PAYMENT_STATUS_UPDATED + const WEBSOCKET_EVENT_CONFIG_CHANGED + const WEBSOCKET_EVENT_DELETE_TEAM + const WEBSOCKET_EVENT_DIRECT_ADDED + const WEBSOCKET_EVENT_EMOJI_ADDED + const WEBSOCKET_EVENT_EPHEMERAL_MESSAGE + const WEBSOCKET_EVENT_GROUP_ADDED + const WEBSOCKET_EVENT_GUESTS_DEACTIVATED + const WEBSOCKET_EVENT_HELLO + const WEBSOCKET_EVENT_LEAVE_TEAM + const WEBSOCKET_EVENT_LICENSE_CHANGED + const WEBSOCKET_EVENT_MEMBERROLE_UPDATED + const WEBSOCKET_EVENT_NEW_USER + const WEBSOCKET_EVENT_OPEN_DIALOG + const WEBSOCKET_EVENT_PLUGIN_DISABLED + const WEBSOCKET_EVENT_PLUGIN_ENABLED + const WEBSOCKET_EVENT_PLUGIN_STATUSES_CHANGED + const WEBSOCKET_EVENT_POSTED + const WEBSOCKET_EVENT_POST_DELETED + const WEBSOCKET_EVENT_POST_EDITED + const WEBSOCKET_EVENT_POST_UNREAD + const WEBSOCKET_EVENT_PREFERENCES_CHANGED + const WEBSOCKET_EVENT_PREFERENCES_DELETED + const WEBSOCKET_EVENT_PREFERENCE_CHANGED + const WEBSOCKET_EVENT_REACTION_ADDED + const WEBSOCKET_EVENT_REACTION_REMOVED + const WEBSOCKET_EVENT_RECEIVED_GROUP + const WEBSOCKET_EVENT_RECEIVED_GROUP_ASSOCIATED_TO_CHANNEL + const WEBSOCKET_EVENT_RECEIVED_GROUP_ASSOCIATED_TO_TEAM + const WEBSOCKET_EVENT_RECEIVED_GROUP_NOT_ASSOCIATED_TO_CHANNEL + const WEBSOCKET_EVENT_RECEIVED_GROUP_NOT_ASSOCIATED_TO_TEAM + const WEBSOCKET_EVENT_RESPONSE + const WEBSOCKET_EVENT_RESTORE_TEAM + const WEBSOCKET_EVENT_ROLE_UPDATED + const WEBSOCKET_EVENT_SIDEBAR_CATEGORY_CREATED + const WEBSOCKET_EVENT_SIDEBAR_CATEGORY_DELETED + const WEBSOCKET_EVENT_SIDEBAR_CATEGORY_ORDER_UPDATED + const WEBSOCKET_EVENT_SIDEBAR_CATEGORY_UPDATED + const WEBSOCKET_EVENT_STATUS_CHANGE + const WEBSOCKET_EVENT_THREAD_FOLLOW_CHANGED + const WEBSOCKET_EVENT_THREAD_READ_CHANGED + const WEBSOCKET_EVENT_THREAD_UPDATED + const WEBSOCKET_EVENT_TYPING + const WEBSOCKET_EVENT_UPDATE_TEAM + const WEBSOCKET_EVENT_UPDATE_TEAM_SCHEME + const WEBSOCKET_EVENT_USER_ACTIVATION_STATUS_CHANGE + const WEBSOCKET_EVENT_USER_ADDED + const WEBSOCKET_EVENT_USER_REMOVED + const WEBSOCKET_EVENT_USER_ROLE_UPDATED + const WEBSOCKET_EVENT_USER_UPDATED + const WEBSOCKET_WARN_METRIC_STATUS_RECEIVED + const WEBSOCKET_WARN_METRIC_STATUS_REMOVED + var AT_MENTION_PATTEN = regexp.MustCompile(`\B@`) + var AllPermissions []*Permission + var BotDefaultImage = []byte + var BuildDate string + var BuildEnterpriseReady string + var BuildHash string + var BuildHashEnterprise string + var BuildNumber string + var BuiltInSchemeManagedRoleIDs []string + var ChannelModeratedPermissions []string + var ChannelModeratedPermissionsMap map[string]string + var CurrentVersion string = versions[0] + var DeprecatedPermissions []*Permission + var EMOJI_PATTERN = regexp.MustCompile(`:[a-zA-Z0-9_-]+:`) + var IMAGE_EXTENSIONS = [7]string + var IMAGE_MIME_TYPES = map[string]string + var NewSystemRoleIDs []string + var PostActionRetainPropKeys = []string + var ServerTLSSupportedCiphers = map[string]uint16 + var SysconsoleAncillaryPermissions map[string][]*Permission + var SysconsoleReadPermissions []*Permission + var SysconsoleWritePermissions []*Permission + var SystemEmojis = map[string]string + var SystemManagerDefaultPermissions []string + var SystemReadOnlyAdminDefaultPermissions []string + var SystemUserManagerDefaultPermissions []string + var WarnMetricsTable = map[string]WarnMetric + func AppErrorInit(t goi18n.TranslateFunc) + func ArrayFromInterface(data interface{}) []string + func ArrayFromJson(data io.Reader) []string + func ArrayToJson(objmap []string) string + func AsStringBoolMap(list []string) map[string]bool + func AuditModelTypeConv(val interface{}) (newVal interface{}, converted bool) + func AutocompleteStaticListItemsToJSON(items []AutocompleteListItem) []byte + func AutocompleteSuggestionsToJSON(suggestions []AutocompleteSuggestion) []byte + func ChannelMentions(message string) []string + func ChannelModeratedPermissionsChangedByPatch(role *Role, patch *RolePatch) []string + func CheckStatusOK(r *http.Response) bool + func CleanRoleNames(roleNames []string) ([]string, bool) + func CleanTeamName(s string) string + func CleanUsername(s string) string + func ClearMentionTags(post string) string + func ClusterInfosToJson(objmap []*ClusterInfo) string + func CommandListToJson(l []*Command) string + func ComparePassword(hash string, password string) bool + func CompliancePostHeader() []string + func CopyStringMap(originalMap map[string]string) map[string]string + func DecryptPostActionCookie(encoded string, secret []byte) (string, error) + func EmailInviteWithErrorToEmails(o []*EmailInviteWithError) []string + func EmailInviteWithErrorToJson(o []*EmailInviteWithError) string + func EmailInviteWithErrorToString(o *EmailInviteWithError) string + func EmojiListToJson(emojiList []*Emoji) string + func Etag(parts ...interface{}) string + func FileInfosToJson(infos []*FileInfo) string + func FloorToNearestHour(ms int64) int64 + func GenerateLinkMetadataHash(url string, timestamp int64) int64 + func GenerateMiniPreviewImage(img image.Image) *[]byte + func GeneratePassword(minimumLength int) string + func GetDMNameFromIds(userId1, userId2 string) string + func GetEndOfDayMillis(thisTime time.Time, timeZoneOffset int) int64 + func GetEtagForFileInfos(infos []*FileInfo) string + func GetGroupDisplayNameFromUsers(users []*User, truncate bool) string + func GetGroupNameFromUserIds(userIds []string) string + func GetImageMimeType(ext string) string + func GetInfoForBytes(name string, data io.ReadSeeker, size int) (*FileInfo, *AppError) + func GetMillis() int64 + func GetMillisForTime(thisTime time.Time) int64 + func GetPreferredTimezone(timezone StringMap) string + func GetPreviousVersion(version string) string + func GetServerIpAddress(iface string) string + func GetStartOfDayMillis(thisTime time.Time, timeZoneOffset int) int64 + func GetSystemEmojiId(emojiName string) (string, bool) + func HashPassword(password string) string + func IncomingWebhookListToJson(l []*IncomingWebhook) string + func IncomingWebhookRequestFromJson(data io.Reader) (*IncomingWebhookRequest, *AppError) + func IsBotDMChannel(channel *Channel, botUserID string) bool + func IsChannelMarkUnreadLevelValid(markUnreadLevel string) bool + func IsChannelNotifyLevelValid(notifyLevel string) bool + func IsCurrentVersion(versionToCheck string) bool + func IsDomainName(s string) bool + func IsFileExtImage(ext string) bool + func IsIgnoreChannelMentionsValid(ignoreChannelMentions string) bool + func IsInRole(userRoles string, inRole string) bool + func IsLower(s string) bool + func IsPreviousVersionsSupported(versionToCheck string) bool + func IsReservedTeamName(s string) bool + func IsSafeLink(link *string) bool + func IsSamlFile(saml *SamlSettings, filename string) bool + func IsSendEmailValid(sendEmail string) bool + func IsValidAlphaNum(s string) bool + func IsValidAlphaNumHyphenUnderscore(s string, withFormat bool) bool + func IsValidCategoryId(s string) bool + func IsValidChannelIdentifier(s string) bool + func IsValidCommentsNotifyLevel(notifyLevel string) bool + func IsValidEmail(email string) bool + func IsValidEmailBatchingInterval(emailInterval string) bool + func IsValidHttpUrl(rawUrl string) bool + func IsValidId(value string) bool + func IsValidLocale(locale string) bool + func IsValidNumberString(value string) bool + func IsValidPluginId(id string) bool + func IsValidPushStatusNotifyLevel(notifyLevel string) bool + func IsValidRoleName(roleName string) bool + func IsValidSchemeName(name string) bool + func IsValidTeamName(s string) bool + func IsValidTrueOrFalseString(value string) bool + func IsValidTurnOrStunServer(rawUri string) bool + func IsValidUserNotifyLevel(notifyLevel string) bool + func IsValidUserRoles(userRoles string) bool + func IsValidUsername(s string) bool + func IsValidWebsocketUrl(rawUrl string) bool + func JobsToJson(jobs []*Job) string + func MakeDefaultRoles() map[string]*Role + func ManifestListToJson(m []*Manifest) string + func MapBoolFromJson(data io.Reader) map[string]bool + func MapBoolToJson(objmap map[string]bool) string + func MapFromJson(data io.Reader) map[string]string + func MapPostIdToReactionsFromJson(data io.Reader) map[string][]*Reaction + func MapPostIdToReactionsToJson(o map[string][]*Reaction) string + func MapToJson(objmap map[string]string) string + func MapWarnMetricStatusToJson(o map[string]*WarnMetricStatus) string + func NewBool(b bool) *bool + func NewId() string + func NewInt(n int) *int + func NewInt64(n int64) *int64 + func NewPluginKeyValueFromOptions(pluginId, key string, value []byte, opt PluginKVSetOptions) (*PluginKeyValue, *AppError) + func NewRandomBase32String(size int) string + func NewRandomString(length int) string + func NewRandomTeamName() string + func NewString(s string) *string + func NewWebSocketClient(url, authToken string) (*WebSocketClient, *AppError) + func NewWebSocketClient4(url, authToken string) (*WebSocketClient, *AppError) + func NewWebSocketClient4WithDialer(dialer *websocket.Dialer, url, authToken string) (*WebSocketClient, *AppError) + func NewWebSocketClientWithDialer(dialer *websocket.Dialer, url, authToken string) (*WebSocketClient, *AppError) + func NormalizeEmail(email string) string + func NormalizeUsername(username string) string + func OAuthAppListToJson(l []*OAuthApp) string + func OutgoingWebhookListToJson(l []*OutgoingWebhook) string + func PadDateStringZeros(dateString string) string + func ParseHashtags(text string) (string, string) + func ParseSlackAttachment(post *Post, attachments []*SlackAttachment) + func ParseSlackLinksToMarkdown(text string) string + func PermissionsChangedByPatch(role *Role, patch *RolePatch) []string + func PossibleAtMentions(message string) []string + func ReactionsToJson(o []*Reaction) string + func RemoveDuplicateStrings(in []string) []string + func RewriteImageURLs(message string, f func(string) string) string + func RoleListToJson(r []*Role) string + func SanitizeUnicode(s string) string + func SchemeIDFromJson(data io.Reader) *string + func SchemesToJson(schemes []*Scheme) string + func SessionsToJson(o []*Session) string + func SidebarCategoriesWithChannelsToJson(o []*SidebarCategoryWithChannels) []byte + func SplitVersion(version string) (int64, int64, int64) + func StatusListToJson(u []*Status) string + func StatusMapToInterfaceMap(statusMap map[string]*Status) map[string]interface + func StringFromJson(data io.Reader) string + func StringInterfaceFromJson(data io.Reader) map[string]interface + func StringInterfaceToJson(objmap map[string]interface{}) string + func StringToJson(s string) string + func TeamListToJson(t []*Team) string + func TeamMapFromJson(data io.Reader) map[string]*Team + func TeamMapToJson(u map[string]*Team) string + func TeamMemberWithErrorToString(o *TeamMemberWithError) string + func TeamMembersToJson(o []*TeamMember) string + func TeamMembersWithErrorToJson(o []*TeamMemberWithError) string + func TeamsUnreadToJson(o []*TeamUnread) string + func TeamsWithCountToJson(tlc *TeamsWithCount) []byte + func TrimUsernameSpecialChar(word string) (string, bool) + func TruncateOpenGraph(ogdata *opengraph.OpenGraph) *opengraph.OpenGraph + func UploadSessionsToJson(uss []*UploadSession) string + func UserAccessTokenListToJson(t []*UserAccessToken) string + func UserListToJson(u []*User) string + func UserMapFromJson(data io.Reader) map[string]*User + func UserMapToJson(u map[string]*User) string + type AccessData struct + ClientId string + ExpiresAt int64 + RedirectUri string + RefreshToken string + Scope string + Token string + UserId string + func AccessDataFromJson(data io.Reader) *AccessData + func (ad *AccessData) IsExpired() bool + func (ad *AccessData) IsValid() *AppError + func (ad *AccessData) ToJson() string + type AccessResponse struct + AccessToken string + ExpiresIn int32 + IdToken string + RefreshToken string + Scope string + TokenType string + func AccessResponseFromJson(data io.Reader) *AccessResponse + func (ar *AccessResponse) ToJson() string + type AddOn struct + DisplayName string + ID string + Name string + PricePerSeat float64 + type Address struct + City string + Country string + Line1 string + Line2 string + PostalCode string + State string + type AnalyticsPostCountsOptions struct + BotsOnly bool + TeamId string + YesterdayOnly bool + type AnalyticsRow struct + Name string + Value float64 + func AnalyticsRowFromJson(data io.Reader) *AnalyticsRow + func (ar *AnalyticsRow) ToJson() string + type AnalyticsRows []*AnalyticsRow + func AnalyticsRowsFromJson(data io.Reader) AnalyticsRows + func (ar AnalyticsRows) ToJson() string + type AnalyticsSettings struct + MaxUsersForStatistics *int + func (s *AnalyticsSettings) SetDefaults() + type AnnouncementSettings struct + AdminNoticesEnabled *bool + AllowBannerDismissal *bool + BannerColor *string + BannerText *string + BannerTextColor *string + EnableBanner *bool + NoticesFetchFrequency *int + NoticesSkipCache *bool + NoticesURL *string + UserNoticesEnabled *bool + func (s *AnnouncementSettings) SetDefaults() + type AppError struct + DetailedError string + Id string + IsOAuth bool + Message string + RequestId string + StatusCode int + Where string + func AppErrorFromJson(data io.Reader) *AppError + func DecodeAndVerifyTriggerId(triggerId string, s *ecdsa.PrivateKey) (string, string, *AppError) + func GenerateTriggerId(userId string, s crypto.Signer) (string, string, *AppError) + func InvalidTermsOfServiceError(fieldName string, termsOfServiceId string) *AppError + func InvalidUserError(fieldName string, userId string) *AppError + func InvalidUserTermsOfServiceError(fieldName string, userTermsOfServiceId string) *AppError + func IsSearchParamsListValid(paramsList []*SearchParams) *AppError + func IsValidEmojiName(name string) *AppError + func MakeBotNotFoundError(userId string) *AppError + func NewAppError(where string, id string, params map[string]interface{}, details string, ...) *AppError + func (er *AppError) Error() string + func (er *AppError) SystemMessage(T goi18n.TranslateFunc) string + func (er *AppError) ToJson() string + func (er *AppError) Translate(T goi18n.TranslateFunc) + type Attribute struct + FriendlyName string + Name string + NameFormat string + Values []AttributeValue + XMLName xml.Name + type AttributeValue struct + NameID *NameID + Type string + Value string + type Audit struct + Action string + CreateAt int64 + ExtraInfo string + Id string + IpAddress string + SessionId string + UserId string + func AuditFromJson(data io.Reader) *Audit + func (o *Audit) ToJson() string + type Audits []Audit + func AuditsFromJson(data io.Reader) Audits + func (o Audits) Etag() string + func (o Audits) ToJson() string + type AuthData struct + ClientId string + Code string + CreateAt int64 + ExpiresIn int32 + RedirectUri string + Scope string + State string + UserId string + func AuthDataFromJson(data io.Reader) *AuthData + func (ad *AuthData) IsExpired() bool + func (ad *AuthData) IsValid() *AppError + func (ad *AuthData) PreSave() + func (ad *AuthData) ToJson() string + type AuthorizeRequest struct + ClientId string + RedirectUri string + ResponseType string + Scope string + State string + func AuthorizeRequestFromJson(data io.Reader) *AuthorizeRequest + func (ar *AuthorizeRequest) IsValid() *AppError + func (ar *AuthorizeRequest) ToJson() string + type AutocompleteArg struct + Data interface{} + HelpText string + Name string + Required bool + Type AutocompleteArgType + func (a *AutocompleteArg) Equals(arg *AutocompleteArg) bool + func (a *AutocompleteArg) UnmarshalJSON(b []byte) error + type AutocompleteArgType string + const AutocompleteArgTypeDynamicList + const AutocompleteArgTypeStaticList + const AutocompleteArgTypeText + type AutocompleteData struct + Arguments []*AutocompleteArg + HelpText string + Hint string + RoleID string + SubCommands []*AutocompleteData + Trigger string + func AutocompleteDataFromJSON(data []byte) (*AutocompleteData, error) + func NewAutocompleteData(trigger, hint, helpText string) *AutocompleteData + func (ad *AutocompleteData) AddCommand(command *AutocompleteData) + func (ad *AutocompleteData) AddDynamicListArgument(helpText, url string, required bool) + func (ad *AutocompleteData) AddNamedDynamicListArgument(name, helpText, url string, required bool) + func (ad *AutocompleteData) AddNamedStaticListArgument(name, helpText string, required bool, items []AutocompleteListItem) + func (ad *AutocompleteData) AddNamedTextArgument(name, helpText, hint, pattern string, required bool) + func (ad *AutocompleteData) AddStaticListArgument(helpText string, required bool, items []AutocompleteListItem) + func (ad *AutocompleteData) AddTextArgument(helpText, hint, pattern string) + func (ad *AutocompleteData) Equals(command *AutocompleteData) bool + func (ad *AutocompleteData) IsValid() error + func (ad *AutocompleteData) ToJSON() ([]byte, error) + func (ad *AutocompleteData) UpdateRelativeURLsForPluginCommands(baseURL *url.URL) error + type AutocompleteDynamicListArg struct + FetchURL string + type AutocompleteListItem struct + HelpText string + Hint string + Item string + func AutocompleteStaticListItemsFromJSON(data io.Reader) []AutocompleteListItem + type AutocompleteStaticListArg struct + PossibleArguments []AutocompleteListItem + type AutocompleteSuggestion struct + Complete string + Description string + Hint string + IconData string + Suggestion string + func AutocompleteSuggestionsFromJSON(data io.Reader) []AutocompleteSuggestion + type AutocompleteTextArg struct + Hint string + Pattern string + type BaseMarketplacePlugin struct + AuthorType string + DownloadURL string + Enterprise bool + HomepageURL string + Hosting string + IconData string + Labels []MarketplaceLabel + Manifest *Manifest + ReleaseNotesURL string + ReleaseStage string + Signature string + func BaseMarketplacePluginsFromReader(reader io.Reader) ([]*BaseMarketplacePlugin, error) + func (plugin *BaseMarketplacePlugin) DecodeSignature() (io.ReadSeeker, error) + type BleveSettings struct + BulkIndexingTimeWindowSeconds *int + EnableAutocomplete *bool + EnableIndexing *bool + EnableSearching *bool + IndexDir *string + func (bs *BleveSettings) SetDefaults() + type Bot struct + CreateAt int64 + DeleteAt int64 + Description string + DisplayName string + LastIconUpdate int64 + OwnerId string + UpdateAt int64 + UserId string + Username string + func BotFromJson(data io.Reader) *Bot + func BotFromUser(u *User) *Bot + func (b *Bot) Clone() *Bot + func (b *Bot) Etag() string + func (b *Bot) IsValid() *AppError + func (b *Bot) Patch(patch *BotPatch) + func (b *Bot) PreSave() + func (b *Bot) PreUpdate() + func (b *Bot) ToJson() []byte + func (b *Bot) Trace() map[string]interface{} + type BotGetOptions struct + IncludeDeleted bool + OnlyOrphaned bool + OwnerId string + Page int + PerPage int + type BotList []*Bot + func BotListFromJson(data io.Reader) BotList + func (l *BotList) Etag() string + func (l *BotList) ToJson() []byte + type BotPatch struct + Description *string + DisplayName *string + Username *string + func BotPatchFromJson(data io.Reader) *BotPatch + func (b *BotPatch) ToJson() []byte + type BundleInfo struct + Manifest *Manifest + ManifestError error + ManifestPath string + Path string + func BundleInfoForPath(path string) *BundleInfo + func (b *BundleInfo) WrapLogger(logger *mlog.Logger) *mlog.Logger + type CWSWebhookPayload struct + Event string + FailedPayment *FailedPayment + type Channel struct + CreateAt int64 + CreatorId string + DeleteAt int64 + DisplayName string + ExtraUpdateAt int64 + GroupConstrained *bool + Header string + Id string + LastPostAt int64 + Name string + Props map[string]interface{} + Purpose string + SchemeId *string + Shared *bool + TeamId string + TotalMsgCount int64 + Type string + UpdateAt int64 + func ChannelFromJson(data io.Reader) *Channel + func ChannelSliceFromJson(data io.Reader) []*Channel + func (o *Channel) AddProp(key string, value interface{}) + func (o *Channel) DeepCopy() *Channel + func (o *Channel) Etag() string + func (o *Channel) GetOtherUserIdForDM(userId string) string + func (o *Channel) IsGroupConstrained() bool + func (o *Channel) IsGroupOrDirect() bool + func (o *Channel) IsOpen() bool + func (o *Channel) IsShared() bool + func (o *Channel) IsValid() *AppError + func (o *Channel) MakeNonNil() + func (o *Channel) Patch(patch *ChannelPatch) + func (o *Channel) PreSave() + func (o *Channel) PreUpdate() + func (o *Channel) ToJson() string + type ChannelCounts struct + Counts map[string]int64 + UpdateTimes map[string]int64 + func ChannelCountsFromJson(data io.Reader) *ChannelCounts + func (o *ChannelCounts) Etag() string + func (o *ChannelCounts) ToJson() string + type ChannelData struct + Channel *Channel + Member *ChannelMember + func ChannelDataFromJson(data io.Reader) *ChannelData + func (o *ChannelData) Etag() string + func (o *ChannelData) ToJson() string + type ChannelForExport struct + SchemeName *string + TeamName string + type ChannelList []*Channel + func ChannelListFromJson(data io.Reader) *ChannelList + func (o *ChannelList) Etag() string + func (o *ChannelList) ToJson() string + type ChannelListWithTeamData []*ChannelWithTeamData + func ChannelListWithTeamDataFromJson(data io.Reader) *ChannelListWithTeamData + func (o *ChannelListWithTeamData) Etag() string + func (o *ChannelListWithTeamData) ToJson() string + type ChannelMember struct + ChannelId string + ExplicitRoles string + LastUpdateAt int64 + LastViewedAt int64 + MentionCount int64 + MsgCount int64 + NotifyProps StringMap + Roles string + SchemeAdmin bool + SchemeGuest bool + SchemeUser bool + UserId string + func ChannelMemberFromJson(data io.Reader) *ChannelMember + func (o *ChannelMember) GetRoles() []string + func (o *ChannelMember) IsChannelMuted() bool + func (o *ChannelMember) IsValid() *AppError + func (o *ChannelMember) PreSave() + func (o *ChannelMember) PreUpdate() + func (o *ChannelMember) SetChannelMuted(muted bool) + func (o *ChannelMember) ToJson() string + type ChannelMemberCountByGroup struct + ChannelMemberCount int64 + ChannelMemberTimezonesCount int64 + GroupId string + func ChannelMemberCountsByGroupFromJson(data io.Reader) []*ChannelMemberCountByGroup + type ChannelMemberForExport struct + ChannelName string + Username string + type ChannelMemberHistory struct + ChannelId string + JoinTime int64 + LeaveTime *int64 + UserId string + type ChannelMemberHistoryResult struct + ChannelId string + IsBot bool + JoinTime int64 + LeaveTime *int64 + UserDeleteAt int64 + UserEmail string + UserId string + Username string + type ChannelMembers []ChannelMember + func ChannelMembersFromJson(data io.Reader) *ChannelMembers + func (o *ChannelMembers) ToJson() string + type ChannelMentionMap map[string]string + func ChannelMentionMapFromURLValues(values url.Values) (ChannelMentionMap, error) + func (m ChannelMentionMap) ToURLValues() url.Values + type ChannelModeratedRole struct + Enabled bool + Value bool + type ChannelModeratedRoles struct + Guests *ChannelModeratedRole + Members *ChannelModeratedRole + type ChannelModeratedRolesPatch struct + Guests *bool + Members *bool + type ChannelModeration struct + Name string + Roles *ChannelModeratedRoles + func ChannelModerationsFromJson(data io.Reader) []*ChannelModeration + type ChannelModerationPatch struct + Name *string + Roles *ChannelModeratedRolesPatch + func ChannelModerationsPatchFromJson(data io.Reader) []*ChannelModerationPatch + type ChannelPatch struct + DisplayName *string + GroupConstrained *bool + Header *string + Name *string + Purpose *string + func ChannelPatchFromJson(data io.Reader) *ChannelPatch + func (o *ChannelPatch) ToJson() string + type ChannelSearch struct + Deleted bool + ExcludeDefaultChannels bool + ExcludeGroupConstrained bool + GroupConstrained bool + IncludeDeleted bool + NotAssociatedToGroup string + Page *int + PerPage *int + Private bool + Public bool + TeamIds []string + Term string + func ChannelSearchFromJson(data io.Reader) *ChannelSearch + func (c *ChannelSearch) ToJson() string + type ChannelSearchOpts struct + Deleted bool + ExcludeChannelNames []string + ExcludeDefaultChannels bool + ExcludeGroupConstrained bool + GroupConstrained bool + IncludeDeleted bool + NotAssociatedToGroup string + Page *int + PerPage *int + Private bool + Public bool + TeamIds []string + type ChannelStats struct + ChannelId string + GuestCount int64 + MemberCount int64 + PinnedPostCount int64 + func ChannelStatsFromJson(data io.Reader) *ChannelStats + func (o *ChannelStats) ToJson() string + type ChannelUnread struct + ChannelId string + MentionCount int64 + MsgCount int64 + NotifyProps StringMap + TeamId string + func ChannelUnreadFromJson(data io.Reader) *ChannelUnread + func (o *ChannelUnread) ToJson() string + type ChannelUnreadAt struct + ChannelId string + LastViewedAt int64 + MentionCount int64 + MsgCount int64 + NotifyProps StringMap + TeamId string + UserId string + func ChannelUnreadAtFromJson(data io.Reader) *ChannelUnreadAt + func (o *ChannelUnreadAt) ToJson() string + type ChannelView struct + ChannelId string + PrevChannelId string + func ChannelViewFromJson(data io.Reader) *ChannelView + func (o *ChannelView) ToJson() string + type ChannelViewResponse struct + LastViewedAtTimes map[string]int64 + Status string + func ChannelViewResponseFromJson(data io.Reader) *ChannelViewResponse + func (o *ChannelViewResponse) ToJson() string + type ChannelWithTeamData struct + TeamDisplayName string + TeamName string + TeamUpdateAt int64 + type ChannelsWithCount struct + Channels *ChannelListWithTeamData + TotalCount int64 + func ChannelsWithCountFromJson(data io.Reader) *ChannelsWithCount + func (o *ChannelsWithCount) ToJson() []byte + type Client4 struct + ApiUrl string + AuthToken string + AuthType string + HttpClient *http.Client + HttpHeader map[string]string + Url string + func NewAPIv4Client(url string) *Client4 + func NewAPIv4SocketClient(socketPath string) *Client4 + func (c *Client4) AddChannelMember(channelId, userId string) (*ChannelMember, *Response) + func (c *Client4) AddChannelMemberWithRootId(channelId, userId, postRootId string) (*ChannelMember, *Response) + func (c *Client4) AddTeamMember(teamId, userId string) (*TeamMember, *Response) + func (c *Client4) AddTeamMemberFromInvite(token, inviteId string) (*TeamMember, *Response) + func (c *Client4) AddTeamMembers(teamId string, userIds []string) ([]*TeamMember, *Response) + func (c *Client4) AddTeamMembersGracefully(teamId string, userIds []string) ([]*TeamMemberWithError, *Response) + func (c *Client4) AssignBot(botUserId, newOwnerId string) (*Bot, *Response) + func (c *Client4) AttachDeviceId(deviceId string) (bool, *Response) + func (c *Client4) AuthorizeOAuthApp(authRequest *AuthorizeRequest) (string, *Response) + func (c *Client4) AutocompleteChannelsForTeam(teamId, name string) (*ChannelList, *Response) + func (c *Client4) AutocompleteChannelsForTeamForSearch(teamId, name string) (*ChannelList, *Response) + func (c *Client4) AutocompleteEmoji(name string, etag string) ([]*Emoji, *Response) + func (c *Client4) AutocompleteUsers(username string, limit int, etag string) (*UserAutocomplete, *Response) + func (c *Client4) AutocompleteUsersInChannel(teamId string, channelId string, username string, limit int, etag string) (*UserAutocomplete, *Response) + func (c *Client4) AutocompleteUsersInTeam(teamId string, username string, limit int, etag string) (*UserAutocomplete, *Response) + func (c *Client4) CancelJob(jobId string) (bool, *Response) + func (c *Client4) ChannelMembersMinusGroupMembers(channelID string, groupIDs []string, page, perPage int, etag string) ([]*UserWithGroups, int64, *Response) + func (c *Client4) CheckIntegrity() ([]IntegrityCheckResult, *Response) + func (c *Client4) CheckUserMfa(loginId string) (bool, *Response) + func (c *Client4) ClearOAuthToken() + func (c *Client4) ClearServerBusy() (bool, *Response) + func (c *Client4) ConfirmCustomerPayment(confirmRequest *ConfirmPaymentMethodRequest) *Response + func (c *Client4) ConvertBotToUser(userId string, userPatch *UserPatch, setSystemAdmin bool) (*User, *Response) + func (c *Client4) ConvertChannelToPrivate(channelId string) (*Channel, *Response) + func (c *Client4) ConvertUserToBot(userId string) (*Bot, *Response) + func (c *Client4) CreateBot(bot *Bot) (*Bot, *Response) + func (c *Client4) CreateChannel(channel *Channel) (*Channel, *Response) + func (c *Client4) CreateCommand(cmd *Command) (*Command, *Response) + func (c *Client4) CreateComplianceReport(report *Compliance) (*Compliance, *Response) + func (c *Client4) CreateCustomerPayment() (*StripeSetupIntent, *Response) + func (c *Client4) CreateDirectChannel(userId1, userId2 string) (*Channel, *Response) + func (c *Client4) CreateEmoji(emoji *Emoji, image []byte, filename string) (*Emoji, *Response) + func (c *Client4) CreateGroupChannel(userIds []string) (*Channel, *Response) + func (c *Client4) CreateIncomingWebhook(hook *IncomingWebhook) (*IncomingWebhook, *Response) + func (c *Client4) CreateJob(job *Job) (*Job, *Response) + func (c *Client4) CreateOAuthApp(app *OAuthApp) (*OAuthApp, *Response) + func (c *Client4) CreateOutgoingWebhook(hook *OutgoingWebhook) (*OutgoingWebhook, *Response) + func (c *Client4) CreatePost(post *Post) (*Post, *Response) + func (c *Client4) CreatePostEphemeral(post *PostEphemeral) (*Post, *Response) + func (c *Client4) CreateScheme(scheme *Scheme) (*Scheme, *Response) + func (c *Client4) CreateSidebarCategoryForTeamForUser(userID, teamID string, category *SidebarCategoryWithChannels) (*SidebarCategoryWithChannels, *Response) + func (c *Client4) CreateTeam(team *Team) (*Team, *Response) + func (c *Client4) CreateTermsOfService(text, userId string) (*TermsOfService, *Response) + func (c *Client4) CreateUpload(us *UploadSession) (*UploadSession, *Response) + func (c *Client4) CreateUser(user *User) (*User, *Response) + func (c *Client4) CreateUserAccessToken(userId, description string) (*UserAccessToken, *Response) + func (c *Client4) CreateUserWithInviteId(user *User, inviteId string) (*User, *Response) + func (c *Client4) CreateUserWithToken(user *User, tokenId string) (*User, *Response) + func (c *Client4) DatabaseRecycle() (bool, *Response) + func (c *Client4) DeauthorizeOAuthApp(appId string) (bool, *Response) + func (c *Client4) DeleteBotIconImage(botUserId string) (bool, *Response) + func (c *Client4) DeleteBrandImage() *Response + func (c *Client4) DeleteChannel(channelId string) (bool, *Response) + func (c *Client4) DeleteCommand(commandId string) (bool, *Response) + func (c *Client4) DeleteEmoji(emojiId string) (bool, *Response) + func (c *Client4) DeleteIncomingWebhook(hookID string) (bool, *Response) + func (c *Client4) DeleteLdapPrivateCertificate() (bool, *Response) + func (c *Client4) DeleteLdapPublicCertificate() (bool, *Response) + func (c *Client4) DeleteOAuthApp(appId string) (bool, *Response) + func (c *Client4) DeleteOutgoingWebhook(hookId string) (bool, *Response) + func (c *Client4) DeletePost(postId string) (bool, *Response) + func (c *Client4) DeletePreferences(userId string, preferences *Preferences) (bool, *Response) + func (c *Client4) DeleteReaction(reaction *Reaction) (bool, *Response) + func (c *Client4) DeleteSamlIdpCertificate() (bool, *Response) + func (c *Client4) DeleteSamlPrivateCertificate() (bool, *Response) + func (c *Client4) DeleteSamlPublicCertificate() (bool, *Response) + func (c *Client4) DeleteScheme(id string) (bool, *Response) + func (c *Client4) DeleteUser(userId string) (bool, *Response) + func (c *Client4) DemoteUserToGuest(guestId string) (bool, *Response) + func (c *Client4) DisableBot(botUserId string) (*Bot, *Response) + func (c *Client4) DisablePlugin(id string) (bool, *Response) + func (c *Client4) DisableUserAccessToken(tokenId string) (bool, *Response) + func (c *Client4) DoApiDelete(url string) (*http.Response, *AppError) + func (c *Client4) DoApiGet(url string, etag string) (*http.Response, *AppError) + func (c *Client4) DoApiPost(url string, data string) (*http.Response, *AppError) + func (c *Client4) DoApiPut(url string, data string) (*http.Response, *AppError) + func (c *Client4) DoApiRequest(method, url, data, etag string) (*http.Response, *AppError) + func (c *Client4) DoEmojiUploadFile(url string, data []byte, contentType string) (*Emoji, *Response) + func (c *Client4) DoPostAction(postId, actionId string) (bool, *Response) + func (c *Client4) DoPostActionWithCookie(postId, actionId, selected, cookieStr string) (bool, *Response) + func (c *Client4) DoUploadFile(url string, data []byte, contentType string) (*FileUploadResponse, *Response) + func (c *Client4) DoUploadImportTeam(url string, data []byte, contentType string) (map[string]string, *Response) + func (c *Client4) DownloadComplianceReport(reportId string) ([]byte, *Response) + func (c *Client4) DownloadFile(fileId string, download bool) ([]byte, *Response) + func (c *Client4) DownloadFilePreview(fileId string, download bool) ([]byte, *Response) + func (c *Client4) DownloadFileThumbnail(fileId string, download bool) ([]byte, *Response) + func (c *Client4) DownloadJob(jobId string) ([]byte, *Response) + func (c *Client4) EnableBot(botUserId string) (*Bot, *Response) + func (c *Client4) EnablePlugin(id string) (bool, *Response) + func (c *Client4) EnableUserAccessToken(tokenId string) (bool, *Response) + func (c *Client4) ExecuteCommand(channelId, command string) (*CommandResponse, *Response) + func (c *Client4) ExecuteCommandWithTeam(channelId, teamId, command string) (*CommandResponse, *Response) + func (c *Client4) GenerateMfaSecret(userId string) (*MfaSecret, *Response) + func (c *Client4) GetActiveUsersInTeam(teamId string, page int, perPage int, etag string) ([]*User, *Response) + func (c *Client4) GetAllChannels(page int, perPage int, etag string) (*ChannelListWithTeamData, *Response) + func (c *Client4) GetAllChannelsIncludeDeleted(page int, perPage int, etag string) (*ChannelListWithTeamData, *Response) + func (c *Client4) GetAllChannelsWithCount(page int, perPage int, etag string) (*ChannelListWithTeamData, int64, *Response) + func (c *Client4) GetAllTeams(etag string, page int, perPage int) ([]*Team, *Response) + func (c *Client4) GetAllTeamsWithTotalCount(etag string, page int, perPage int) ([]*Team, int64, *Response) + func (c *Client4) GetAnalyticsOld(name, teamId string) (AnalyticsRows, *Response) + func (c *Client4) GetAnalyticsRoute() string + func (c *Client4) GetAudits(page int, perPage int, etag string) (Audits, *Response) + func (c *Client4) GetAuthorizedOAuthAppsForUser(userId string, page, perPage int) ([]*OAuthApp, *Response) + func (c *Client4) GetBleveRoute() string + func (c *Client4) GetBot(userId string, etag string) (*Bot, *Response) + func (c *Client4) GetBotIconImage(botUserId string) ([]byte, *Response) + func (c *Client4) GetBotIncludeDeleted(userId string, etag string) (*Bot, *Response) + func (c *Client4) GetBotRoute(botUserId string) string + func (c *Client4) GetBots(page, perPage int, etag string) ([]*Bot, *Response) + func (c *Client4) GetBotsIncludeDeleted(page, perPage int, etag string) ([]*Bot, *Response) + func (c *Client4) GetBotsOrphaned(page, perPage int, etag string) ([]*Bot, *Response) + func (c *Client4) GetBotsRoute() string + func (c *Client4) GetBrandImage() ([]byte, *Response) + func (c *Client4) GetBrandRoute() string + func (c *Client4) GetBulkReactions(postIds []string) (map[string][]*Reaction, *Response) + func (c *Client4) GetCacheRoute() string + func (c *Client4) GetChannel(channelId, etag string) (*Channel, *Response) + func (c *Client4) GetChannelByName(channelName, teamId string, etag string) (*Channel, *Response) + func (c *Client4) GetChannelByNameForTeamName(channelName, teamName string, etag string) (*Channel, *Response) + func (c *Client4) GetChannelByNameForTeamNameIncludeDeleted(channelName, teamName string, etag string) (*Channel, *Response) + func (c *Client4) GetChannelByNameForTeamNameRoute(channelName, teamName string) string + func (c *Client4) GetChannelByNameIncludeDeleted(channelName, teamId string, etag string) (*Channel, *Response) + func (c *Client4) GetChannelByNameRoute(channelName, teamId string) string + func (c *Client4) GetChannelMember(channelId, userId, etag string) (*ChannelMember, *Response) + func (c *Client4) GetChannelMemberCountsByGroup(channelID string, includeTimezones bool, etag string) ([]*ChannelMemberCountByGroup, *Response) + func (c *Client4) GetChannelMemberRoute(channelId, userId string) string + func (c *Client4) GetChannelMembers(channelId string, page, perPage int, etag string) (*ChannelMembers, *Response) + func (c *Client4) GetChannelMembersByIds(channelId string, userIds []string) (*ChannelMembers, *Response) + func (c *Client4) GetChannelMembersForUser(userId, teamId, etag string) (*ChannelMembers, *Response) + func (c *Client4) GetChannelMembersRoute(channelId string) string + func (c *Client4) GetChannelMembersTimezones(channelId string) ([]string, *Response) + func (c *Client4) GetChannelModerations(channelID string, etag string) ([]*ChannelModeration, *Response) + func (c *Client4) GetChannelRoute(channelId string) string + func (c *Client4) GetChannelSchemeRoute(channelId string) string + func (c *Client4) GetChannelStats(channelId string, etag string) (*ChannelStats, *Response) + func (c *Client4) GetChannelUnread(channelId, userId string) (*ChannelUnread, *Response) + func (c *Client4) GetChannelsForScheme(schemeId string, page int, perPage int) (ChannelList, *Response) + func (c *Client4) GetChannelsForTeamAndUserWithLastDeleteAt(teamId, userId string, includeDeleted bool, lastDeleteAt int, etag string) ([]*Channel, *Response) + func (c *Client4) GetChannelsForTeamForUser(teamId, userId string, includeDeleted bool, etag string) ([]*Channel, *Response) + func (c *Client4) GetChannelsForTeamForUserRoute(teamId, userId string, includeDeleted bool) string + func (c *Client4) GetChannelsForTeamRoute(teamId string) string + func (c *Client4) GetChannelsRoute() string + func (c *Client4) GetCloudCustomer() (*CloudCustomer, *Response) + func (c *Client4) GetCloudProducts() ([]*Product, *Response) + func (c *Client4) GetCloudRoute() string + func (c *Client4) GetClusterRoute() string + func (c *Client4) GetClusterStatus() ([]*ClusterInfo, *Response) + func (c *Client4) GetCommandById(cmdId string) (*Command, *Response) + func (c *Client4) GetCommandMoveRoute(commandId string) string + func (c *Client4) GetCommandRoute(commandId string) string + func (c *Client4) GetCommandsRoute() string + func (c *Client4) GetComplianceReport(reportId string) (*Compliance, *Response) + func (c *Client4) GetComplianceReportRoute(reportId string) string + func (c *Client4) GetComplianceReports(page, perPage int) (Compliances, *Response) + func (c *Client4) GetComplianceReportsRoute() string + func (c *Client4) GetConfig() (*Config, *Response) + func (c *Client4) GetConfigRoute() string + func (c *Client4) GetDataRetentionPolicy() (*DataRetentionPolicy, *Response) + func (c *Client4) GetDataRetentionRoute() string + func (c *Client4) GetDatabaseRoute() string + func (c *Client4) GetDefaultProfileImage(userId string) ([]byte, *Response) + func (c *Client4) GetDeletedChannelsForTeam(teamId string, page int, perPage int, etag string) ([]*Channel, *Response) + func (c *Client4) GetElasticsearchRoute() string + func (c *Client4) GetEmoji(emojiId string) (*Emoji, *Response) + func (c *Client4) GetEmojiByName(name string) (*Emoji, *Response) + func (c *Client4) GetEmojiByNameRoute(name string) string + func (c *Client4) GetEmojiImage(emojiId string) ([]byte, *Response) + func (c *Client4) GetEmojiList(page, perPage int) ([]*Emoji, *Response) + func (c *Client4) GetEmojiRoute(emojiId string) string + func (c *Client4) GetEmojisRoute() string + func (c *Client4) GetEnvironmentConfig() (map[string]interface{}, *Response) + func (c *Client4) GetFile(fileId string) ([]byte, *Response) + func (c *Client4) GetFileInfo(fileId string) (*FileInfo, *Response) + func (c *Client4) GetFileInfosForPost(postId string, etag string) ([]*FileInfo, *Response) + func (c *Client4) GetFileLink(fileId string) (string, *Response) + func (c *Client4) GetFilePreview(fileId string) ([]byte, *Response) + func (c *Client4) GetFileRoute(fileId string) string + func (c *Client4) GetFileThumbnail(fileId string) ([]byte, *Response) + func (c *Client4) GetFilesRoute() string + func (c *Client4) GetFlaggedPostsForUser(userId string, page int, perPage int) (*PostList, *Response) + func (c *Client4) GetFlaggedPostsForUserInChannel(userId string, channelId string, page int, perPage int) (*PostList, *Response) + func (c *Client4) GetFlaggedPostsForUserInTeam(userId string, teamId string, page int, perPage int) (*PostList, *Response) + func (c *Client4) GetGroup(groupID, etag string) (*Group, *Response) + func (c *Client4) GetGroupRoute(groupID string) string + func (c *Client4) GetGroupStats(groupID string) (*GroupStats, *Response) + func (c *Client4) GetGroupSyncable(groupID, syncableID string, syncableType GroupSyncableType, etag string) (*GroupSyncable, *Response) + func (c *Client4) GetGroupSyncableRoute(groupID, syncableID string, syncableType GroupSyncableType) string + func (c *Client4) GetGroupSyncables(groupID string, syncableType GroupSyncableType, etag string) ([]*GroupSyncable, *Response) + func (c *Client4) GetGroupSyncablesRoute(groupID string, syncableType GroupSyncableType) string + func (c *Client4) GetGroups(opts GroupSearchOpts) ([]*Group, *Response) + func (c *Client4) GetGroupsAssociatedToChannelsByTeam(teamId string, opts GroupSearchOpts) (map[string][]*GroupWithSchemeAdmin, *Response) + func (c *Client4) GetGroupsByChannel(channelId string, opts GroupSearchOpts) ([]*GroupWithSchemeAdmin, int, *Response) + func (c *Client4) GetGroupsByTeam(teamId string, opts GroupSearchOpts) ([]*GroupWithSchemeAdmin, int, *Response) + func (c *Client4) GetGroupsByUserId(userId string) ([]*Group, *Response) + func (c *Client4) GetGroupsRoute() string + func (c *Client4) GetImportsRoute() string + func (c *Client4) GetIncomingWebhook(hookID string, etag string) (*IncomingWebhook, *Response) + func (c *Client4) GetIncomingWebhookRoute(hookID string) string + func (c *Client4) GetIncomingWebhooks(page int, perPage int, etag string) ([]*IncomingWebhook, *Response) + func (c *Client4) GetIncomingWebhooksForTeam(teamId string, page int, perPage int, etag string) ([]*IncomingWebhook, *Response) + func (c *Client4) GetIncomingWebhooksRoute() string + func (c *Client4) GetInvoicesForSubscription() ([]*Invoice, *Response) + func (c *Client4) GetJob(id string) (*Job, *Response) + func (c *Client4) GetJobs(page int, perPage int) ([]*Job, *Response) + func (c *Client4) GetJobsByType(jobType string, page int, perPage int) ([]*Job, *Response) + func (c *Client4) GetJobsRoute() string + func (c *Client4) GetKnownUsers() ([]string, *Response) + func (c *Client4) GetLdapGroups() ([]*Group, *Response) + func (c *Client4) GetLdapRoute() string + func (c *Client4) GetLicenseRoute() string + func (c *Client4) GetLogs(page, perPage int) ([]string, *Response) + func (c *Client4) GetMarketplacePlugins(filter *MarketplacePluginFilter) ([]*MarketplacePlugin, *Response) + func (c *Client4) GetMe(etag string) (*User, *Response) + func (c *Client4) GetNewUsersInTeam(teamId string, page int, perPage int, etag string) ([]*User, *Response) + func (c *Client4) GetNotices(lastViewed int64, teamId string, client NoticeClientType, ...) (NoticeMessages, *Response) + func (c *Client4) GetOAuthAccessToken(data url.Values) (*AccessResponse, *Response) + func (c *Client4) GetOAuthApp(appId string) (*OAuthApp, *Response) + func (c *Client4) GetOAuthAppInfo(appId string) (*OAuthApp, *Response) + func (c *Client4) GetOAuthAppRoute(appId string) string + func (c *Client4) GetOAuthApps(page, perPage int) ([]*OAuthApp, *Response) + func (c *Client4) GetOAuthAppsRoute() string + func (c *Client4) GetOldClientConfig(etag string) (map[string]string, *Response) + func (c *Client4) GetOldClientLicense(etag string) (map[string]string, *Response) + func (c *Client4) GetOpenGraphRoute() string + func (c *Client4) GetOutgoingWebhook(hookId string) (*OutgoingWebhook, *Response) + func (c *Client4) GetOutgoingWebhookRoute(hookID string) string + func (c *Client4) GetOutgoingWebhooks(page int, perPage int, etag string) ([]*OutgoingWebhook, *Response) + func (c *Client4) GetOutgoingWebhooksForChannel(channelId string, page int, perPage int, etag string) ([]*OutgoingWebhook, *Response) + func (c *Client4) GetOutgoingWebhooksForTeam(teamId string, page int, perPage int, etag string) ([]*OutgoingWebhook, *Response) + func (c *Client4) GetOutgoingWebhooksRoute() string + func (c *Client4) GetPing() (string, *Response) + func (c *Client4) GetPingWithFullServerStatus() (map[string]string, *Response) + func (c *Client4) GetPingWithServerStatus() (string, *Response) + func (c *Client4) GetPinnedPosts(channelId string, etag string) (*PostList, *Response) + func (c *Client4) GetPluginRoute(pluginId string) string + func (c *Client4) GetPluginStatuses() (PluginStatuses, *Response) + func (c *Client4) GetPlugins() (*PluginsResponse, *Response) + func (c *Client4) GetPluginsRoute() string + func (c *Client4) GetPost(postId string, etag string) (*Post, *Response) + func (c *Client4) GetPostRoute(postId string) string + func (c *Client4) GetPostThread(postId string, etag string) (*PostList, *Response) + func (c *Client4) GetPostsAfter(channelId, postId string, page, perPage int, etag string) (*PostList, *Response) + func (c *Client4) GetPostsAroundLastUnread(userId, channelId string, limitBefore, limitAfter int) (*PostList, *Response) + func (c *Client4) GetPostsBefore(channelId, postId string, page, perPage int, etag string) (*PostList, *Response) + func (c *Client4) GetPostsEphemeralRoute() string + func (c *Client4) GetPostsForChannel(channelId string, page, perPage int, etag string) (*PostList, *Response) + func (c *Client4) GetPostsRoute() string + func (c *Client4) GetPostsSince(channelId string, time int64) (*PostList, *Response) + func (c *Client4) GetPreferenceByCategoryAndName(userId string, category string, preferenceName string) (*Preference, *Response) + func (c *Client4) GetPreferences(userId string) (Preferences, *Response) + func (c *Client4) GetPreferencesByCategory(userId string, category string) (Preferences, *Response) + func (c *Client4) GetPreferencesRoute(userId string) string + func (c *Client4) GetPrivateChannelsForTeam(teamId string, page int, perPage int, etag string) ([]*Channel, *Response) + func (c *Client4) GetProfileImage(userId, etag string) ([]byte, *Response) + func (c *Client4) GetPublicChannelsByIdsForTeam(teamId string, channelIds []string) ([]*Channel, *Response) + func (c *Client4) GetPublicChannelsForTeam(teamId string, page int, perPage int, etag string) ([]*Channel, *Response) + func (c *Client4) GetPublishUserTypingRoute(userId string) string + func (c *Client4) GetReactions(postId string) ([]*Reaction, *Response) + func (c *Client4) GetReactionsRoute() string + func (c *Client4) GetRecentlyActiveUsersInTeam(teamId string, page int, perPage int, etag string) ([]*User, *Response) + func (c *Client4) GetRedirectLocation(urlParam, etag string) (string, *Response) + func (c *Client4) GetRedirectLocationRoute() string + func (c *Client4) GetRole(id string) (*Role, *Response) + func (c *Client4) GetRoleByName(name string) (*Role, *Response) + func (c *Client4) GetRolesByNames(roleNames []string) ([]*Role, *Response) + func (c *Client4) GetRolesRoute() string + func (c *Client4) GetSamlCertificateStatus() (*SamlCertificateStatus, *Response) + func (c *Client4) GetSamlMetadata() (string, *Response) + func (c *Client4) GetSamlMetadataFromIdp(samlMetadataURL string) (*SamlMetadataResponse, *Response) + func (c *Client4) GetSamlRoute() string + func (c *Client4) GetScheme(id string) (*Scheme, *Response) + func (c *Client4) GetSchemeRoute(id string) string + func (c *Client4) GetSchemes(scope string, page int, perPage int) ([]*Scheme, *Response) + func (c *Client4) GetSchemesRoute() string + func (c *Client4) GetServerBusy() (*ServerBusyState, *Response) + func (c *Client4) GetServerBusyExpires() (*time.Time, *Response) + func (c *Client4) GetServerBusyRoute() string + func (c *Client4) GetSessions(userId, etag string) ([]*Session, *Response) + func (c *Client4) GetSidebarCategoriesForTeamForUser(userID, teamID, etag string) (*OrderedSidebarCategories, *Response) + func (c *Client4) GetSidebarCategoryForTeamForUser(userID, teamID, categoryID, etag string) (*SidebarCategoryWithChannels, *Response) + func (c *Client4) GetSidebarCategoryOrderForTeamForUser(userID, teamID, etag string) ([]string, *Response) + func (c *Client4) GetSortedEmojiList(page, perPage int, sort string) ([]*Emoji, *Response) + func (c *Client4) GetSubscription() (*Subscription, *Response) + func (c *Client4) GetSupportedTimezone() ([]string, *Response) + func (c *Client4) GetSystemRoute() string + func (c *Client4) GetTeam(teamId, etag string) (*Team, *Response) + func (c *Client4) GetTeamAutoCompleteCommandsRoute(teamId string) string + func (c *Client4) GetTeamByName(name, etag string) (*Team, *Response) + func (c *Client4) GetTeamByNameRoute(teamName string) string + func (c *Client4) GetTeamIcon(teamId, etag string) ([]byte, *Response) + func (c *Client4) GetTeamImportRoute(teamId string) string + func (c *Client4) GetTeamInviteInfo(inviteId string) (*Team, *Response) + func (c *Client4) GetTeamMember(teamId, userId, etag string) (*TeamMember, *Response) + func (c *Client4) GetTeamMemberRoute(teamId, userId string) string + func (c *Client4) GetTeamMembers(teamId string, page int, perPage int, etag string) ([]*TeamMember, *Response) + func (c *Client4) GetTeamMembersByIds(teamId string, userIds []string) ([]*TeamMember, *Response) + func (c *Client4) GetTeamMembersForUser(userId string, etag string) ([]*TeamMember, *Response) + func (c *Client4) GetTeamMembersRoute(teamId string) string + func (c *Client4) GetTeamMembersSortAndWithoutDeletedUsers(teamId string, page int, perPage int, sort string, exclude_deleted_users bool, ...) ([]*TeamMember, *Response) + func (c *Client4) GetTeamRoute(teamId string) string + func (c *Client4) GetTeamSchemeRoute(teamId string) string + func (c *Client4) GetTeamStats(teamId, etag string) (*TeamStats, *Response) + func (c *Client4) GetTeamStatsRoute(teamId string) string + func (c *Client4) GetTeamUnread(teamId, userId string) (*TeamUnread, *Response) + func (c *Client4) GetTeamsForScheme(schemeId string, page int, perPage int) ([]*Team, *Response) + func (c *Client4) GetTeamsForUser(userId, etag string) ([]*Team, *Response) + func (c *Client4) GetTeamsRoute() string + func (c *Client4) GetTeamsUnreadForUser(userId, teamIdToExclude string) ([]*TeamUnread, *Response) + func (c *Client4) GetTermsOfService(etag string) (*TermsOfService, *Response) + func (c *Client4) GetTermsOfServiceRoute() string + func (c *Client4) GetTestEmailRoute() string + func (c *Client4) GetTestS3Route() string + func (c *Client4) GetTestSiteURLRoute() string + func (c *Client4) GetTimezonesRoute() string + func (c *Client4) GetTotalUsersStats(etag string) (*UsersStats, *Response) + func (c *Client4) GetTotalUsersStatsRoute() string + func (c *Client4) GetUpload(uploadId string) (*UploadSession, *Response) + func (c *Client4) GetUploadRoute(uploadId string) string + func (c *Client4) GetUploadsForUser(userId string) ([]*UploadSession, *Response) + func (c *Client4) GetUploadsRoute() string + func (c *Client4) GetUser(userId, etag string) (*User, *Response) + func (c *Client4) GetUserAccessToken(tokenId string) (*UserAccessToken, *Response) + func (c *Client4) GetUserAccessTokenRoute(tokenId string) string + func (c *Client4) GetUserAccessTokens(page int, perPage int) ([]*UserAccessToken, *Response) + func (c *Client4) GetUserAccessTokensForUser(userId string, page, perPage int) ([]*UserAccessToken, *Response) + func (c *Client4) GetUserAccessTokensRoute() string + func (c *Client4) GetUserAudits(userId string, page int, perPage int, etag string) (Audits, *Response) + func (c *Client4) GetUserByEmail(email, etag string) (*User, *Response) + func (c *Client4) GetUserByEmailRoute(email string) string + func (c *Client4) GetUserByUsername(userName, etag string) (*User, *Response) + func (c *Client4) GetUserByUsernameRoute(userName string) string + func (c *Client4) GetUserCategoryRoute(userID, teamID string) string + func (c *Client4) GetUserRoute(userId string) string + func (c *Client4) GetUserStatus(userId, etag string) (*Status, *Response) + func (c *Client4) GetUserStatusRoute(userId string) string + func (c *Client4) GetUserStatusesRoute() string + func (c *Client4) GetUserTermsOfService(userId, etag string) (*UserTermsOfService, *Response) + func (c *Client4) GetUserTermsOfServiceRoute(userId string) string + func (c *Client4) GetUserThreadRoute(userId, teamId, threadId string) string + func (c *Client4) GetUserThreads(userId, teamId string, options GetUserThreadsOpts) (*Threads, *Response) + func (c *Client4) GetUserThreadsRoute(userID, teamID string) string + func (c *Client4) GetUsers(page int, perPage int, etag string) ([]*User, *Response) + func (c *Client4) GetUsersByGroupChannelIds(groupChannelIds []string) (map[string][]*User, *Response) + func (c *Client4) GetUsersByIds(userIds []string) ([]*User, *Response) + func (c *Client4) GetUsersByIdsWithOptions(userIds []string, options *UserGetByIdsOptions) ([]*User, *Response) + func (c *Client4) GetUsersByUsernames(usernames []string) ([]*User, *Response) + func (c *Client4) GetUsersInChannel(channelId string, page int, perPage int, etag string) ([]*User, *Response) + func (c *Client4) GetUsersInChannelByStatus(channelId string, page int, perPage int, etag string) ([]*User, *Response) + func (c *Client4) GetUsersInGroup(groupID string, page int, perPage int, etag string) ([]*User, *Response) + func (c *Client4) GetUsersInTeam(teamId string, page int, perPage int, etag string) ([]*User, *Response) + func (c *Client4) GetUsersNotInChannel(teamId, channelId string, page int, perPage int, etag string) ([]*User, *Response) + func (c *Client4) GetUsersNotInTeam(teamId string, page int, perPage int, etag string) ([]*User, *Response) + func (c *Client4) GetUsersRoute() string + func (c *Client4) GetUsersStatusesByIds(userIds []string) ([]*Status, *Response) + func (c *Client4) GetUsersWithoutTeam(page int, perPage int, etag string) ([]*User, *Response) + func (c *Client4) GetWebappPlugins() ([]*Manifest, *Response) + func (c *Client4) ImportTeam(data []byte, filesize int, importFrom, filename, teamId string) (map[string]string, *Response) + func (c *Client4) InstallMarketplacePlugin(request *InstallMarketplacePluginRequest) (*Manifest, *Response) + func (c *Client4) InstallPluginFromUrl(downloadUrl string, force bool) (*Manifest, *Response) + func (c *Client4) InvalidateCaches() (bool, *Response) + func (c *Client4) InvalidateEmailInvites() (bool, *Response) + func (c *Client4) InviteGuestsToTeam(teamId string, userEmails []string, channels []string, message string) (bool, *Response) + func (c *Client4) InviteGuestsToTeamGracefully(teamId string, userEmails []string, channels []string, message string) ([]*EmailInviteWithError, *Response) + func (c *Client4) InviteUsersToTeam(teamId string, userEmails []string) (bool, *Response) + func (c *Client4) InviteUsersToTeamGracefully(teamId string, userEmails []string) ([]*EmailInviteWithError, *Response) + func (c *Client4) LinkGroupSyncable(groupID, syncableID string, syncableType GroupSyncableType, ...) (*GroupSyncable, *Response) + func (c *Client4) LinkLdapGroup(dn string) (*Group, *Response) + func (c *Client4) ListAutocompleteCommands(teamId string) ([]*Command, *Response) + func (c *Client4) ListCommandAutocompleteSuggestions(userInput, teamId string) ([]AutocompleteSuggestion, *Response) + func (c *Client4) ListCommands(teamId string, customOnly bool) ([]*Command, *Response) + func (c *Client4) ListImports() ([]string, *Response) + func (c *Client4) Login(loginId string, password string) (*User, *Response) + func (c *Client4) LoginById(id string, password string) (*User, *Response) + func (c *Client4) LoginByLdap(loginId string, password string) (*User, *Response) + func (c *Client4) LoginWithDevice(loginId string, password string, deviceId string) (*User, *Response) + func (c *Client4) LoginWithMFA(loginId, password, mfaToken string) (*User, *Response) + func (c *Client4) Logout() (bool, *Response) + func (c *Client4) MarkNoticesViewed(ids []string) *Response + func (c *Client4) MigrateAuthToLdap(fromAuthService string, matchField string, force bool) (bool, *Response) + func (c *Client4) MigrateAuthToSaml(fromAuthService string, usersMap map[string]string, auto bool) (bool, *Response) + func (c *Client4) MigrateConfig(from, to string) (bool, *Response) + func (c *Client4) MigrateIdLdap(toAttribute string) (bool, *Response) + func (c *Client4) MockSession(token string) + func (c *Client4) MoveChannel(channelId, teamId string, force bool) (*Channel, *Response) + func (c *Client4) MoveCommand(teamId string, commandId string) (bool, *Response) + func (c *Client4) Must(result interface{}, resp *Response) interface{} + func (c *Client4) OpenGraph(url string) (map[string]string, *Response) + func (c *Client4) OpenInteractiveDialog(request OpenDialogRequest) (bool, *Response) + func (c *Client4) PatchBot(userId string, patch *BotPatch) (*Bot, *Response) + func (c *Client4) PatchChannel(channelId string, patch *ChannelPatch) (*Channel, *Response) + func (c *Client4) PatchChannelModerations(channelID string, patch []*ChannelModerationPatch) ([]*ChannelModeration, *Response) + func (c *Client4) PatchConfig(config *Config) (*Config, *Response) + func (c *Client4) PatchGroup(groupID string, patch *GroupPatch) (*Group, *Response) + func (c *Client4) PatchGroupSyncable(groupID, syncableID string, syncableType GroupSyncableType, ...) (*GroupSyncable, *Response) + func (c *Client4) PatchPost(postId string, patch *PostPatch) (*Post, *Response) + func (c *Client4) PatchRole(roleId string, patch *RolePatch) (*Role, *Response) + func (c *Client4) PatchScheme(id string, patch *SchemePatch) (*Scheme, *Response) + func (c *Client4) PatchTeam(teamId string, patch *TeamPatch) (*Team, *Response) + func (c *Client4) PatchUser(userId string, patch *UserPatch) (*User, *Response) + func (c *Client4) PermanentDeleteAllUsers() (bool, *Response) + func (c *Client4) PermanentDeleteChannel(channelId string) (bool, *Response) + func (c *Client4) PermanentDeleteTeam(teamId string) (bool, *Response) + func (c *Client4) PermanentDeleteUser(userId string) (bool, *Response) + func (c *Client4) PinPost(postId string) (bool, *Response) + func (c *Client4) PostLog(message map[string]string) (map[string]string, *Response) + func (c *Client4) PromoteGuestToUser(guestId string) (bool, *Response) + func (c *Client4) PublishUserTyping(userID string, typingRequest TypingRequest) (bool, *Response) + func (c *Client4) PurgeBleveIndexes() (bool, *Response) + func (c *Client4) PurgeElasticsearchIndexes() (bool, *Response) + func (c *Client4) RegenCommandToken(commandId string) (string, *Response) + func (c *Client4) RegenOutgoingHookToken(hookId string) (*OutgoingWebhook, *Response) + func (c *Client4) RegenerateOAuthAppSecret(appId string) (*OAuthApp, *Response) + func (c *Client4) RegenerateTeamInviteId(teamId string) (*Team, *Response) + func (c *Client4) RegisterTermsOfServiceAction(userId, termsOfServiceId string, accepted bool) (*bool, *Response) + func (c *Client4) ReloadConfig() (bool, *Response) + func (c *Client4) RemoveLicenseFile() (bool, *Response) + func (c *Client4) RemovePlugin(id string) (bool, *Response) + func (c *Client4) RemoveTeamIcon(teamId string) (bool, *Response) + func (c *Client4) RemoveTeamMember(teamId, userId string) (bool, *Response) + func (c *Client4) RemoveUserFromChannel(channelId, userId string) (bool, *Response) + func (c *Client4) RequestTrialLicense(users int) (bool, *Response) + func (c *Client4) ResetPassword(token, newPassword string) (bool, *Response) + func (c *Client4) RestoreChannel(channelId string) (*Channel, *Response) + func (c *Client4) RestoreTeam(teamId string) (*Team, *Response) + func (c *Client4) RevokeAllSessions(userId string) (bool, *Response) + func (c *Client4) RevokeSession(userId, sessionId string) (bool, *Response) + func (c *Client4) RevokeSessionsFromAllUsers() (bool, *Response) + func (c *Client4) RevokeUserAccessToken(tokenId string) (bool, *Response) + func (c *Client4) SaveReaction(reaction *Reaction) (*Reaction, *Response) + func (c *Client4) SearchAllChannels(search *ChannelSearch) (*ChannelListWithTeamData, *Response) + func (c *Client4) SearchAllChannelsPaged(search *ChannelSearch) (*ChannelsWithCount, *Response) + func (c *Client4) SearchArchivedChannels(teamId string, search *ChannelSearch) ([]*Channel, *Response) + func (c *Client4) SearchChannels(teamId string, search *ChannelSearch) ([]*Channel, *Response) + func (c *Client4) SearchEmoji(search *EmojiSearch) ([]*Emoji, *Response) + func (c *Client4) SearchGroupChannels(search *ChannelSearch) ([]*Channel, *Response) + func (c *Client4) SearchPosts(teamId string, terms string, isOrSearch bool) (*PostList, *Response) + func (c *Client4) SearchPostsWithMatches(teamId string, terms string, isOrSearch bool) (*PostSearchResults, *Response) + func (c *Client4) SearchPostsWithParams(teamId string, params *SearchParameter) (*PostList, *Response) + func (c *Client4) SearchTeams(search *TeamSearch) ([]*Team, *Response) + func (c *Client4) SearchTeamsPaged(search *TeamSearch) ([]*Team, int64, *Response) + func (c *Client4) SearchUserAccessTokens(search *UserAccessTokenSearch) ([]*UserAccessToken, *Response) + func (c *Client4) SearchUsers(search *UserSearch) ([]*User, *Response) + func (c *Client4) SendPasswordResetEmail(email string) (bool, *Response) + func (c *Client4) SendVerificationEmail(email string) (bool, *Response) + func (c *Client4) SetBoolString(value bool, valueStr string) + func (c *Client4) SetBotIconImage(botUserId string, data []byte) (bool, *Response) + func (c *Client4) SetDefaultProfileImage(userId string) (bool, *Response) + func (c *Client4) SetOAuthToken(token string) + func (c *Client4) SetPostUnread(userId string, postId string) *Response + func (c *Client4) SetProfileImage(userId string, data []byte) (bool, *Response) + func (c *Client4) SetServerBusy(secs int) (bool, *Response) + func (c *Client4) SetTeamIcon(teamId string, data []byte) (bool, *Response) + func (c *Client4) SetToken(token string) + func (c *Client4) SoftDeleteTeam(teamId string) (bool, *Response) + func (c *Client4) SubmitInteractiveDialog(request SubmitDialogRequest) (*SubmitDialogResponse, *Response) + func (c *Client4) SwitchAccountType(switchRequest *SwitchRequest) (string, *Response) + func (c *Client4) SyncLdap() (bool, *Response) + func (c *Client4) TeamExists(name, etag string) (bool, *Response) + func (c *Client4) TeamMembersMinusGroupMembers(teamID string, groupIDs []string, page, perPage int, etag string) ([]*UserWithGroups, int64, *Response) + func (c *Client4) TestElasticsearch() (bool, *Response) + func (c *Client4) TestEmail(config *Config) (bool, *Response) + func (c *Client4) TestLdap() (bool, *Response) + func (c *Client4) TestS3Connection(config *Config) (bool, *Response) + func (c *Client4) TestSiteURL(siteURL string) (bool, *Response) + func (c *Client4) UnlinkGroupSyncable(groupID, syncableID string, syncableType GroupSyncableType) *Response + func (c *Client4) UnlinkLdapGroup(dn string) (*Group, *Response) + func (c *Client4) UnpinPost(postId string) (bool, *Response) + func (c *Client4) UpdateChannel(channel *Channel) (*Channel, *Response) + func (c *Client4) UpdateChannelMemberSchemeRoles(channelId string, userId string, schemeRoles *SchemeRoles) (bool, *Response) + func (c *Client4) UpdateChannelNotifyProps(channelId, userId string, props map[string]string) (bool, *Response) + func (c *Client4) UpdateChannelPrivacy(channelId string, privacy string) (*Channel, *Response) + func (c *Client4) UpdateChannelRoles(channelId, userId, roles string) (bool, *Response) + func (c *Client4) UpdateChannelScheme(channelId, schemeId string) (bool, *Response) + func (c *Client4) UpdateCloudCustomer(customerInfo *CloudCustomerInfo) (*CloudCustomer, *Response) + func (c *Client4) UpdateCloudCustomerAddress(address *Address) (*CloudCustomer, *Response) + func (c *Client4) UpdateCommand(cmd *Command) (*Command, *Response) + func (c *Client4) UpdateConfig(config *Config) (*Config, *Response) + func (c *Client4) UpdateIncomingWebhook(hook *IncomingWebhook) (*IncomingWebhook, *Response) + func (c *Client4) UpdateOAuthApp(app *OAuthApp) (*OAuthApp, *Response) + func (c *Client4) UpdateOutgoingWebhook(hook *OutgoingWebhook) (*OutgoingWebhook, *Response) + func (c *Client4) UpdatePassword(userId, currentPassword, newPassword string) *Response + func (c *Client4) UpdatePost(postId string, post *Post) (*Post, *Response) + func (c *Client4) UpdatePreferences(userId string, preferences *Preferences) (bool, *Response) + func (c *Client4) UpdateSidebarCategoriesForTeamForUser(userID, teamID string, categories []*SidebarCategoryWithChannels) ([]*SidebarCategoryWithChannels, *Response) + func (c *Client4) UpdateSidebarCategoryForTeamForUser(userID, teamID, categoryID string, category *SidebarCategoryWithChannels) (*SidebarCategoryWithChannels, *Response) + func (c *Client4) UpdateSidebarCategoryOrderForTeamForUser(userID, teamID string, order []string) ([]string, *Response) + func (c *Client4) UpdateTeam(team *Team) (*Team, *Response) + func (c *Client4) UpdateTeamMemberRoles(teamId, userId, newRoles string) (bool, *Response) + func (c *Client4) UpdateTeamMemberSchemeRoles(teamId string, userId string, schemeRoles *SchemeRoles) (bool, *Response) + func (c *Client4) UpdateTeamPrivacy(teamId string, privacy string) (*Team, *Response) + func (c *Client4) UpdateTeamScheme(teamId, schemeId string) (bool, *Response) + func (c *Client4) UpdateThreadFollowForUser(userId, teamId, threadId string, state bool) *Response + func (c *Client4) UpdateThreadReadForUser(userId, teamId, threadId string, timestamp int64) *Response + func (c *Client4) UpdateThreadsReadForUser(userId, teamId string) *Response + func (c *Client4) UpdateUser(user *User) (*User, *Response) + func (c *Client4) UpdateUserActive(userId string, active bool) (bool, *Response) + func (c *Client4) UpdateUserAuth(userId string, userAuth *UserAuth) (*UserAuth, *Response) + func (c *Client4) UpdateUserHashedPassword(userId, newHashedPassword string) (bool, *Response) + func (c *Client4) UpdateUserMfa(userId, code string, activate bool) (bool, *Response) + func (c *Client4) UpdateUserPassword(userId, currentPassword, newPassword string) (bool, *Response) + func (c *Client4) UpdateUserRoles(userId, roles string) (bool, *Response) + func (c *Client4) UpdateUserStatus(userId string, userStatus *Status) (*Status, *Response) + func (c *Client4) UploadBrandImage(data []byte) (bool, *Response) + func (c *Client4) UploadData(uploadId string, data io.Reader) (*FileInfo, *Response) + func (c *Client4) UploadFile(data []byte, channelId string, filename string) (*FileUploadResponse, *Response) + func (c *Client4) UploadFileAsRequestBody(data []byte, channelId string, filename string) (*FileUploadResponse, *Response) + func (c *Client4) UploadLdapPrivateCertificate(data []byte) (bool, *Response) + func (c *Client4) UploadLdapPublicCertificate(data []byte) (bool, *Response) + func (c *Client4) UploadLicenseFile(data []byte) (bool, *Response) + func (c *Client4) UploadPlugin(file io.Reader) (*Manifest, *Response) + func (c *Client4) UploadPluginForced(file io.Reader) (*Manifest, *Response) + func (c *Client4) UploadSamlIdpCertificate(data []byte, filename string) (bool, *Response) + func (c *Client4) UploadSamlPrivateCertificate(data []byte, filename string) (bool, *Response) + func (c *Client4) UploadSamlPublicCertificate(data []byte, filename string) (bool, *Response) + func (c *Client4) VerifyUserEmail(token string) (bool, *Response) + func (c *Client4) VerifyUserEmailWithoutToken(userId string) (*User, *Response) + func (c *Client4) ViewChannel(userId string, view *ChannelView) (*ChannelViewResponse, *Response) + type ClientRequirements struct + AndroidLatestVersion string + AndroidMinVersion string + DesktopLatestVersion string + DesktopMinVersion string + IosLatestVersion string + IosMinVersion string + type CloudCustomer struct + BillingAddress *Address + CompanyAddress *Address + CreateAt int64 + CreatorID string + ID string + PaymentMethod *PaymentMethod + type CloudCustomerInfo struct + ContactFirstName string + ContactLastName string + Email string + Name string + NumEmployees int + type CloudSettings struct + CWSUrl *string + func (s *CloudSettings) SetDefaults() + type ClusterDiscovery struct + ClusterName string + CreateAt int64 + GossipPort int32 + Hostname string + Id string + LastPingAt int64 + Port int32 + Type string + func ClusterDiscoveryFromJson(data io.Reader) *ClusterDiscovery + func FilterClusterDiscovery(vs []*ClusterDiscovery, f func(*ClusterDiscovery) bool) []*ClusterDiscovery + func (o *ClusterDiscovery) AutoFillHostname() + func (o *ClusterDiscovery) AutoFillIpAddress(iface string, ipAddress string) + func (o *ClusterDiscovery) IsEqual(in *ClusterDiscovery) bool + func (o *ClusterDiscovery) IsValid() *AppError + func (o *ClusterDiscovery) PreSave() + func (o *ClusterDiscovery) ToJson() string + type ClusterInfo struct + ConfigHash string + Hostname string + Id string + IpAddress string + Version string + func ClusterInfoFromJson(data io.Reader) *ClusterInfo + func ClusterInfosFromJson(data io.Reader) []*ClusterInfo + func (ci *ClusterInfo) ToJson() string + type ClusterMessage struct + Data string + Event string + Props map[string]string + SendType string + WaitForAllToSend bool + func ClusterMessageFromJson(data io.Reader) *ClusterMessage + func (o *ClusterMessage) ToJson() string + type ClusterSettings struct + AdvertiseAddress *string + BindAddress *string + ClusterName *string + Enable *bool + EnableExperimentalGossipEncryption *bool + GossipPort *int + IdleConnTimeoutMilliseconds *int + MaxIdleConns *int + MaxIdleConnsPerHost *int + NetworkInterface *string + OverrideHostname *string + ReadOnlyConfig *bool + StreamingPort *int + UseExperimentalGossip *bool + UseIpAddress *bool + func (s *ClusterSettings) SetDefaults() + type ClusterStats struct + Id string + TotalMasterDbConnections int + TotalReadDbConnections int + TotalWebsocketConnections int + func ClusterStatsFromJson(data io.Reader) *ClusterStats + func (cs *ClusterStats) ToJson() string + type Command struct + AutoComplete bool + AutoCompleteDesc string + AutoCompleteHint string + AutocompleteData *AutocompleteData + AutocompleteIconData string + CreateAt int64 + CreatorId string + DeleteAt int64 + Description string + DisplayName string + IconURL string + Id string + Method string + PluginId string + TeamId string + Token string + Trigger string + URL string + UpdateAt int64 + Username string + func CommandFromJson(data io.Reader) *Command + func CommandListFromJson(data io.Reader) []*Command + func (o *Command) IsValid() *AppError + func (o *Command) PreSave() + func (o *Command) PreUpdate() + func (o *Command) Sanitize() + func (o *Command) ToJson() string + type CommandArgs struct + ChannelId string + ChannelMentions ChannelMentionMap + Command string + ParentId string + RootId string + Session Session + SiteURL string + T goi18n.TranslateFunc + TeamId string + TriggerId string + UserId string + UserMentions UserMentionMap + func CommandArgsFromJson(data io.Reader) *CommandArgs + func (o *CommandArgs) AddChannelMention(channelName, channelId string) + func (o *CommandArgs) AddUserMention(username, userId string) + func (o *CommandArgs) ToJson() string + type CommandMoveRequest struct + TeamId string + func CommandMoveRequestFromJson(data io.Reader) (*CommandMoveRequest, error) + func (cmr *CommandMoveRequest) ToJson() string + type CommandResponse struct + Attachments []*SlackAttachment + ChannelId string + ExtraResponses []*CommandResponse + GotoLocation string + IconURL string + Props StringInterface + ResponseType string + SkipSlackParsing bool + Text string + TriggerId string + Type string + Username string + func CommandResponseFromHTTPBody(contentType string, body io.Reader) (*CommandResponse, error) + func CommandResponseFromJson(data io.Reader) (*CommandResponse, error) + func CommandResponseFromPlainText(text string) *CommandResponse + func (o *CommandResponse) ToJson() string + type CommandWebhook struct + ChannelId string + CommandId string + CreateAt int64 + Id string + ParentId string + RootId string + UseCount int + UserId string + func (o *CommandWebhook) IsValid() *AppError + func (o *CommandWebhook) PreSave() + type Compliance struct + Count int + CreateAt int64 + Desc string + Emails string + EndAt int64 + Id string + Keywords string + StartAt int64 + Status string + Type string + UserId string + func ComplianceFromJson(data io.Reader) *Compliance + func (c *Compliance) DeepCopy() *Compliance + func (c *Compliance) IsValid() *AppError + func (c *Compliance) JobName() string + func (c *Compliance) PreSave() + func (c *Compliance) ToJson() string + type CompliancePost struct + ChannelDisplayName string + ChannelName string + ChannelType string + IsBot bool + PostCreateAt int64 + PostDeleteAt int64 + PostFileIds string + PostHashtags string + PostId string + PostMessage string + PostOriginalId string + PostParentId string + PostProps string + PostRootId string + PostType string + PostUpdateAt int64 + TeamDisplayName string + TeamName string + UserEmail string + UserNickname string + UserUsername string + func (cp *CompliancePost) Row() []string + type ComplianceSettings struct + Directory *string + Enable *bool + EnableDaily *bool + func (s *ComplianceSettings) SetDefaults() + type Compliances []Compliance + func CompliancesFromJson(data io.Reader) Compliances + func (c Compliances) ToJson() string + type Conditions struct + Audience *NoticeAudience + ClientType *NoticeClientType + DesktopVersion []string + DisplayDate *string + InstanceType *NoticeInstanceType + MobileVersion []string + NumberOfPosts *int64 + NumberOfUsers *int64 + ServerConfig map[string]interface{} + ServerVersion []string + Sku *NoticeSKU + UserConfig map[string]interface{} + type Config struct + AnalyticsSettings AnalyticsSettings + AnnouncementSettings AnnouncementSettings + BleveSettings BleveSettings + ClientRequirements ClientRequirements + CloudSettings CloudSettings + ClusterSettings ClusterSettings + ComplianceSettings ComplianceSettings + DataRetentionSettings DataRetentionSettings + DisplaySettings DisplaySettings + ElasticsearchSettings ElasticsearchSettings + EmailSettings EmailSettings + ExperimentalAuditSettings ExperimentalAuditSettings + ExperimentalSettings ExperimentalSettings + FeatureFlags *FeatureFlags + FileSettings FileSettings + GitLabSettings SSOSettings + GoogleSettings SSOSettings + GuestAccountsSettings GuestAccountsSettings + ImageProxySettings ImageProxySettings + ImportSettings ImportSettings + JobSettings JobSettings + LdapSettings LdapSettings + LocalizationSettings LocalizationSettings + LogSettings LogSettings + MessageExportSettings MessageExportSettings + MetricsSettings MetricsSettings + NativeAppSettings NativeAppSettings + NotificationLogSettings NotificationLogSettings + Office365Settings Office365Settings + OpenIdSettings SSOSettings + PasswordSettings PasswordSettings + PluginSettings PluginSettings + PrivacySettings PrivacySettings + RateLimitSettings RateLimitSettings + SamlSettings SamlSettings + ServiceSettings ServiceSettings + SqlSettings SqlSettings + SupportSettings SupportSettings + TeamSettings TeamSettings + ThemeSettings ThemeSettings + func ConfigFromJson(data io.Reader) *Config + func (o *Config) Clone() *Config + func (o *Config) GetSSOService(service string) *SSOSettings + func (o *Config) GetSanitizeOptions() map[string]bool + func (o *Config) IsValid() *AppError + func (o *Config) Sanitize() + func (o *Config) SetDefaults() + func (o *Config) ToJson() string + func (o *Config) ToJsonFiltered(tagType, tagValue string) string + type ConfigFunc func() *Config + type ConfirmPaymentMethodRequest struct + StripeSetupIntentID string + type ContactPerson struct + Company string + ContactType string + EmailAddresses []string + GivenName string + SurName string + TelephoneNumbers []string + XMLName xml.Name + type Customer struct + Company string + Email string + Id string + Name string + type DataRetentionPolicy struct + FileDeletionEnabled bool + FileRetentionCutoff int64 + MessageDeletionEnabled bool + MessageRetentionCutoff int64 + func DataRetentionPolicyFromJson(data io.Reader) *DataRetentionPolicy + func (drp *DataRetentionPolicy) ToJson() string + type DataRetentionSettings struct + DeletionJobStartTime *string + EnableFileDeletion *bool + EnableMessageDeletion *bool + FileRetentionDays *int + MessageRetentionDays *int + func (s *DataRetentionSettings) SetDefaults() + type Dialog struct + CallbackId string + Elements []DialogElement + IconURL string + IntroductionText string + NotifyOnCancel bool + State string + SubmitLabel string + Title string + type DialogElement struct + DataSource string + Default string + DisplayName string + HelpText string + MaxLength int + MinLength int + Name string + Optional bool + Options []*PostActionOptions + Placeholder string + SubType string + Type string + type DirectChannelForExport struct + Members *[]string + type DirectPostForExport struct + ChannelMembers *[]string + User string + type DisplaySettings struct + CustomUrlSchemes []string + ExperimentalTimezone *bool + func (s *DisplaySettings) SetDefaults() + type DoPostActionRequest struct + Cookie string + SelectedOption string + func DoPostActionRequestFromJson(data io.Reader) *DoPostActionRequest + type ElasticsearchSettings struct + AggregatePostsAfterDays *int + BulkIndexingTimeWindowSeconds *int + ChannelIndexReplicas *int + ChannelIndexShards *int + ConnectionUrl *string + EnableAutocomplete *bool + EnableIndexing *bool + EnableSearching *bool + IndexPrefix *string + LiveIndexingBatchSize *int + Password *string + PostIndexReplicas *int + PostIndexShards *int + PostsAggregatorJobStartTime *string + RequestTimeoutSeconds *int + SkipTLSVerification *bool + Sniff *bool + Trace *string + UserIndexReplicas *int + UserIndexShards *int + Username *string + func (s *ElasticsearchSettings) SetDefaults() + type EmailInviteWithError struct + Email string + Error *AppError + func EmailInviteWithErrorFromJson(data io.Reader) []*EmailInviteWithError + type EmailSettings struct + ConnectionSecurity *string + EmailBatchingBufferSize *int + EmailBatchingInterval *int + EmailNotificationContentsType *string + EnableEmailBatching *bool + EnablePreviewModeBanner *bool + EnableSMTPAuth *bool + EnableSignInWithEmail *bool + EnableSignInWithUsername *bool + EnableSignUpWithEmail *bool + FeedbackEmail *string + FeedbackName *string + FeedbackOrganization *string + LoginButtonBorderColor *string + LoginButtonColor *string + LoginButtonTextColor *string + PushNotificationBuffer *int + PushNotificationContents *string + PushNotificationServer *string + ReplyToAddress *string + RequireEmailVerification *bool + SMTPPassword *string + SMTPPort *string + SMTPServer *string + SMTPServerTimeout *int + SMTPUsername *string + SendEmailNotifications *bool + SendPushNotifications *bool + SkipServerCertificateVerification *bool + UseChannelInEmailNotifications *bool + func (s *EmailSettings) SetDefaults(isUpdate bool) + type Emoji struct + CreateAt int64 + CreatorId string + DeleteAt int64 + Id string + Name string + UpdateAt int64 + func EmojiFromJson(data io.Reader) *Emoji + func EmojiListFromJson(data io.Reader) []*Emoji + func (emoji *Emoji) IsValid() *AppError + func (emoji *Emoji) PreSave() + func (emoji *Emoji) ToJson() string + type EmojiSearch struct + PrefixOnly bool + Term string + func EmojiSearchFromJson(data io.Reader) *EmojiSearch + func (es *EmojiSearch) ToJson() string + type EncryptionMethod struct + Algorithm string + type Endpoint struct + Binding string + Location string + ResponseLocation string + XMLName xml.Name + type EntityDescriptor struct + CacheDuration time.Duration + ContactPerson ContactPerson + EntityID string + ID string + IDPSSODescriptors []IDPSSODescriptor + Organization Organization + RoleDescriptors []RoleDescriptor + ValidUntil time.Time + XMLName xml.Name + type ExperimentalAuditSettings struct + AdvancedLoggingConfig *string + FileCompress *bool + FileEnabled *bool + FileMaxAgeDays *int + FileMaxBackups *int + FileMaxQueueSize *int + FileMaxSizeMB *int + FileName *string + func (s *ExperimentalAuditSettings) SetDefaults() + type ExperimentalSettings struct + ClientSideCertCheck *string + ClientSideCertEnable *bool + CloudBilling *bool + CloudUserLimit *int64 + EnableClickToReply *bool + EnableSharedChannels *bool + LinkMetadataTimeoutMilliseconds *int64 + RestrictSystemAdmin *bool + UseNewSAMLLibrary *bool + func (s *ExperimentalSettings) SetDefaults() + type FailedPayment struct + CardBrand string + FailureMessage string + LastFour int + type FeatureFlags struct + CloudDelinquentEmailJobsEnabled bool + TestBoolFeature bool + TestFeature string + func (f *FeatureFlags) SetDefaults() + type Features struct + AdvancedLogging *bool + Announcement *bool + Cloud *bool + Cluster *bool + Compliance *bool + CustomPermissionsSchemes *bool + CustomTermsOfService *bool + DataRetention *bool + Elasticsearch *bool + EmailNotificationContents *bool + EnterprisePlugins *bool + FutureFeatures *bool + GoogleOAuth *bool + GuestAccounts *bool + GuestAccountsPermissions *bool + IDLoadedPushNotifications *bool + LDAP *bool + LDAPGroups *bool + LockTeammateNameDisplay *bool + MFA *bool + MHPNS *bool + MessageExport *bool + Metrics *bool + Office365OAuth *bool + OpenId *bool + RemoteClusterService *bool + SAML *bool + SharedChannels *bool + ThemeManagement *bool + Users *int + func (f *Features) SetDefaults() + func (f *Features) ToMap() map[string]interface{} + type FileInfo struct + Content string + CreateAt int64 + CreatorId string + DeleteAt int64 + Extension string + HasPreviewImage bool + Height int + Id string + MimeType string + MiniPreview *[]byte + Name string + Path string + PostId string + PreviewPath string + Size int64 + ThumbnailPath string + UpdateAt int64 + Width int + func FileInfoFromJson(data io.Reader) *FileInfo + func FileInfosFromJson(data io.Reader) []*FileInfo + func NewInfo(name string) *FileInfo + func (fi *FileInfo) IsImage() bool + func (fi *FileInfo) IsValid() *AppError + func (fi *FileInfo) PreSave() + func (fi *FileInfo) ToJson() string + type FileSettings struct + AmazonS3AccessKeyId *string + AmazonS3Bucket *string + AmazonS3Endpoint *string + AmazonS3PathPrefix *string + AmazonS3Region *string + AmazonS3SSE *bool + AmazonS3SSL *bool + AmazonS3SecretAccessKey *string + AmazonS3SignV2 *bool + AmazonS3Trace *bool + Directory *string + DriverName *string + EnableFileAttachments *bool + EnableMobileDownload *bool + EnableMobileUpload *bool + EnablePublicLink *bool + InitialFont *string + MaxFileSize *int64 + PublicLinkSalt *string + func (s *FileSettings) SetDefaults(isUpdate bool) + type FileUploadResponse struct + ClientIds []string + FileInfos []*FileInfo + func FileUploadResponseFromJson(data io.Reader) *FileUploadResponse + func (o *FileUploadResponse) ToJson() string + type GetFileInfosOptions struct + ChannelIds []string + IncludeDeleted bool + Since int64 + SortBy string + SortDescending bool + UserIds []string + type GetPostsOptions struct + ChannelId string + Page int + PerPage int + PostId string + SkipFetchThreads bool + type GetPostsSinceOptions struct + ChannelId string + SkipFetchThreads bool + Time int64 + type GetUserThreadsOpts struct + Deleted bool + Extended bool + Page uint64 + PageSize uint64 + Since uint64 + type GlobalRelayMessageExportSettings struct + CustomerType *string + EmailAddress *string + SMTPServerTimeout *int + SmtpPassword *string + SmtpUsername *string + func (s *GlobalRelayMessageExportSettings) SetDefaults() + type Group struct + AllowReference bool + CreateAt int64 + DeleteAt int64 + Description string + DisplayName string + HasSyncables bool + Id string + MemberCount *int + Name *string + RemoteId string + Source GroupSource + UpdateAt int64 + func GroupFromJson(data io.Reader) *Group + func GroupsFromJson(data io.Reader) []*Group + func (group *Group) IsValidForCreate() *AppError + func (group *Group) IsValidForUpdate() *AppError + func (group *Group) IsValidName() *AppError + func (group *Group) Patch(patch *GroupPatch) + func (group *Group) ToJson() string + type GroupMember struct + CreateAt int64 + DeleteAt int64 + GroupId string + UserId string + func (gm *GroupMember) IsValid() *AppError + type GroupPatch struct + AllowReference *bool + Description *string + DisplayName *string + Name *string + func GroupPatchFromJson(data io.Reader) *GroupPatch + type GroupSearchOpts struct + FilterAllowReference bool + FilterParentTeamPermitted bool + IncludeMemberCount bool + NotAssociatedToChannel string + NotAssociatedToTeam string + PageOpts *PageOpts + Q string + Since int64 + type GroupSource string + type GroupStats struct + GroupID string + TotalMemberCount int64 + func GroupStatsFromJson(data io.Reader) *GroupStats + type GroupSyncable struct + AutoAdd bool + ChannelDisplayName string + ChannelType string + CreateAt int64 + DeleteAt int64 + GroupId string + SchemeAdmin bool + SyncableId string + TeamDisplayName string + TeamID string + TeamType string + Type GroupSyncableType + UpdateAt int64 + func GroupSyncableFromJson(data io.Reader) *GroupSyncable + func GroupSyncablesFromJson(data io.Reader) []*GroupSyncable + func NewGroupChannel(groupID, channelID string, autoAdd bool) *GroupSyncable + func NewGroupTeam(groupID, teamID string, autoAdd bool) *GroupSyncable + func (syncable *GroupSyncable) IsValid() *AppError + func (syncable *GroupSyncable) MarshalJSON() ([]byte, error) + func (syncable *GroupSyncable) Patch(patch *GroupSyncablePatch) + func (syncable *GroupSyncable) UnmarshalJSON(b []byte) error + type GroupSyncablePatch struct + AutoAdd *bool + SchemeAdmin *bool + type GroupSyncableType string + const GroupSyncableTypeChannel + const GroupSyncableTypeTeam + func (gst GroupSyncableType) String() string + type GroupWithSchemeAdmin struct + SchemeAdmin *bool + type GroupsAssociatedToChannel struct + ChannelId string + Groups []*GroupWithSchemeAdmin + type GroupsAssociatedToChannelWithSchemeAdmin struct + ChannelId string + SchemeAdmin *bool + type GuestAccountsSettings struct + AllowEmailAccounts *bool + Enable *bool + EnforceMultifactorAuthentication *bool + RestrictCreationToDomains *string + func (s *GuestAccountsSettings) SetDefaults() + type GuestsInvite struct + Channels []string + Emails []string + Message string + func GuestsInviteFromJson(data io.Reader) *GuestsInvite + func (i *GuestsInvite) IsValid() *AppError + func (i *GuestsInvite) ToJson() string + type IDPSSODescriptor struct + AssertionIDRequestServices []Endpoint + AttributeProfiles []string + Attributes []Attribute + NameIDMappingServices []Endpoint + SingleSignOnServices []Endpoint + WantAuthnRequestsSigned *bool + XMLName xml.Name + type ImageProxySettings struct + Enable *bool + ImageProxyType *string + RemoteImageProxyOptions *string + RemoteImageProxyURL *string + func (s *ImageProxySettings) SetDefaults(ss ServiceSettings) + type ImportSettings struct + Directory *string + RetentionDays *int + func (s *ImportSettings) SetDefaults() + type IncomingWebhook struct + ChannelId string + ChannelLocked bool + CreateAt int64 + DeleteAt int64 + Description string + DisplayName string + IconURL string + Id string + TeamId string + UpdateAt int64 + UserId string + Username string + func IncomingWebhookFromJson(data io.Reader) *IncomingWebhook + func IncomingWebhookListFromJson(data io.Reader) []*IncomingWebhook + func (o *IncomingWebhook) IsValid() *AppError + func (o *IncomingWebhook) PreSave() + func (o *IncomingWebhook) PreUpdate() + func (o *IncomingWebhook) ToJson() string + type IncomingWebhookRequest struct + Attachments []*SlackAttachment + ChannelName string + IconEmoji string + IconURL string + Props StringInterface + Text string + Type string + Username string + func (o *IncomingWebhookRequest) ToJson() string + type IndexedEndpoint struct + Binding string + Index int + IsDefault *bool + Location string + ResponseLocation *string + XMLName xml.Name + type InitialLoad struct + ClientCfg map[string]string + LicenseCfg map[string]string + NoAccounts bool + Preferences Preferences + TeamMembers []*TeamMember + Teams []*Team + User *User + func InitialLoadFromJson(data io.Reader) *InitialLoad + func (il *InitialLoad) ToJson() string + type InstallMarketplacePluginRequest struct + Id string + Version string + func PluginRequestFromReader(reader io.Reader) (*InstallMarketplacePluginRequest, error) + func (r *InstallMarketplacePluginRequest) ToJson() (string, error) + type IntegrityCheckResult struct + Data interface{} + Err error + func (r *IntegrityCheckResult) UnmarshalJSON(b []byte) error + type Invites struct + Invites []map[string]string + func InvitesFromJson(data io.Reader) *Invites + func (o *Invites) ToEmailList() []string + func (o *Invites) ToJson() string + type Invoice struct + CreateAt int64 + Description string + ID string + Items []*InvoiceLineItem + Number string + PeriodEnd int64 + PeriodStart int64 + Status string + SubscriptionID string + Tax int64 + Total int64 + type InvoiceLineItem struct + Description string + Metadata map[string]interface{} + PriceID string + PricePerUnit int64 + Quantity int64 + Total int64 + Type string + type Job struct + CreateAt int64 + Data map[string]string + Id string + LastActivityAt int64 + Priority int64 + Progress int64 + StartAt int64 + Status string + Type string + func JobFromJson(data io.Reader) *Job + func JobsFromJson(data io.Reader) []*Job + func (j *Job) DataToJson() string + func (j *Job) IsValid() *AppError + func (j *Job) ToJson() string + type JobSettings struct + RunJobs *bool + RunScheduler *bool + func (s *JobSettings) SetDefaults() + type KeyDescriptor struct + KeyInfo KeyInfo + Use string + XMLName xml.Name + type KeyInfo struct + DS string + X509Data X509Data + XMLName xml.Name + type LdapGroupSearchOpts struct + IsConfigured *bool + IsLinked *bool + Q string + type LdapSettings struct + AdminFilter *string + BaseDN *string + BindPassword *string + BindUsername *string + ConnectionSecurity *string + EmailAttribute *string + Enable *bool + EnableAdminFilter *bool + EnableSync *bool + FirstNameAttribute *string + GroupDisplayNameAttribute *string + GroupFilter *string + GroupIdAttribute *string + GuestFilter *string + IdAttribute *string + LastNameAttribute *string + LdapPort *int + LdapServer *string + LoginButtonBorderColor *string + LoginButtonColor *string + LoginButtonTextColor *string + LoginFieldName *string + LoginIdAttribute *string + MaxPageSize *int + NicknameAttribute *string + PictureAttribute *string + PositionAttribute *string + PrivateKeyFile *string + PublicCertificateFile *string + QueryTimeout *int + SkipCertificateVerification *bool + SyncIntervalMinutes *int + Trace *bool + UserFilter *string + UsernameAttribute *string + func (s *LdapSettings) SetDefaults() + type License struct + Customer *Customer + ExpiresAt int64 + Features *Features + Id string + IssuedAt int64 + SkuName string + SkuShortName string + StartsAt int64 + func LicenseFromJson(data io.Reader) *License + func NewTestLicense(features ...string) *License + func (l *License) IsExpired() bool + func (l *License) IsPastGracePeriod() bool + func (l *License) IsStarted() bool + func (l *License) ToJson() string + type LicenseRecord struct + Bytes string + CreateAt int64 + Id string + func (lr *LicenseRecord) IsValid() *AppError + func (lr *LicenseRecord) PreSave() + type LinkMetadata struct + Data interface{} + Hash int64 + Timestamp int64 + Type LinkMetadataType + URL string + func (o *LinkMetadata) DeserializeDataToConcreteType() error + func (o *LinkMetadata) IsValid() *AppError + func (o *LinkMetadata) PreSave() + type LinkMetadataType string + type LocalizationSettings struct + AvailableLocales *string + DefaultClientLocale *string + DefaultServerLocale *string + func (s *LocalizationSettings) SetDefaults() + type LocalizedName struct + Lang string + Value string + type LocalizedURI struct + Lang string + Value string + type LogSettings struct + AdvancedLoggingConfig *string + ConsoleJson *bool + ConsoleLevel *string + EnableConsole *bool + EnableDiagnostics *bool + EnableFile *bool + EnableSentry *bool + EnableWebhookDebugging *bool + FileJson *bool + FileLevel *string + FileLocation *string + func (s *LogSettings) SetDefaults() + type Manifest struct + Backend *ManifestServer + Description string + HomepageURL string + IconPath string + Id string + MinServerVersion string + Name string + Props map[string]interface{} + ReleaseNotesURL string + RequiredConfig *Config + Server *ManifestServer + SettingsSchema *PluginSettingsSchema + SupportURL string + Version string + Webapp *ManifestWebapp + func FindManifest(dir string) (manifest *Manifest, path string, err error) + func ManifestFromJson(data io.Reader) *Manifest + func ManifestListFromJson(data io.Reader) []*Manifest + func (m *Manifest) ClientManifest() *Manifest + func (m *Manifest) GetExecutableForRuntime(goOs, goArch string) string + func (m *Manifest) HasClient() bool + func (m *Manifest) HasServer() bool + func (m *Manifest) HasWebapp() bool + func (m *Manifest) IsValid() error + func (m *Manifest) MeetMinServerVersion(serverVersion string) (bool, error) + func (m *Manifest) ToJson() string + type ManifestExecutables struct + DarwinAmd64 string + LinuxAmd64 string + WindowsAmd64 string + type ManifestServer struct + Executable string + Executables *ManifestExecutables + type ManifestWebapp struct + BundleHash []byte + BundlePath string + type MarketplaceLabel struct + Color string + Description string + Name string + URL string + type MarketplacePlugin struct + InstalledVersion string + func MarketplacePluginsFromReader(reader io.Reader) ([]*MarketplacePlugin, error) + type MarketplacePluginFilter struct + BuildEnterpriseReady bool + Cloud bool + EnterprisePlugins bool + Filter string + LocalOnly bool + Page int + PerPage int + Platform string + ServerVersion string + func (filter *MarketplacePluginFilter) ApplyToURL(u *url.URL) + type MessageExport struct + ChannelDisplayName *string + ChannelId *string + ChannelName *string + ChannelType *string + IsBot bool + PostCreateAt *int64 + PostDeleteAt *int64 + PostFileIds StringArray + PostId *string + PostMessage *string + PostOriginalId *string + PostProps *string + PostRootId *string + PostType *string + PostUpdateAt *int64 + TeamDisplayName *string + TeamId *string + TeamName *string + UserEmail *string + UserId *string + Username *string + type MessageExportSettings struct + BatchSize *int + DailyRunTime *string + DownloadExportResults *bool + EnableExport *bool + ExportFormat *string + ExportFromTimestamp *int64 + GlobalRelaySettings *GlobalRelayMessageExportSettings + func (s *MessageExportSettings) SetDefaults() + type MetricsSettings struct + BlockProfileRate *int + Enable *bool + ListenAddress *string + func (s *MetricsSettings) SetDefaults() + type MfaSecret struct + QRCode string + Secret string + func MfaSecretFromJson(data io.Reader) *MfaSecret + func (mfa *MfaSecret) ToJson() string + type NameID struct + Format string + NameQualifier string + SPNameQualifier string + SPProvidedID string + Value string + type NameIDFormat struct + Format string + Value string + XMLName xml.Name + type NativeAppSettings struct + AndroidAppDownloadLink *string + AppDownloadLink *string + IosAppDownloadLink *string + func (s *NativeAppSettings) SetDefaults() + type NoticeAction string + const URL + type NoticeAudience string + const NoticeAudience_All + const NoticeAudience_Member + const NoticeAudience_Sysadmin + const NoticeAudience_TeamAdmin + func NewNoticeAudience(s NoticeAudience) *NoticeAudience + func (a *NoticeAudience) Matches(sysAdmin bool, teamAdmin bool) bool + type NoticeClientType string + const NoticeClientType_All + const NoticeClientType_Desktop + const NoticeClientType_Mobile + const NoticeClientType_MobileAndroid + const NoticeClientType_MobileIos + const NoticeClientType_Web + func NewNoticeClientType(s NoticeClientType) *NoticeClientType + func NoticeClientTypeFromString(s string) (NoticeClientType, error) + func (c *NoticeClientType) Matches(other NoticeClientType) bool + type NoticeInstanceType string + const NoticeInstanceType_Both + const NoticeInstanceType_Cloud + const NoticeInstanceType_OnPrem + func NewNoticeInstanceType(n NoticeInstanceType) *NoticeInstanceType + func (t *NoticeInstanceType) Matches(isCloud bool) bool + type NoticeMessage struct + ID string + SysAdminOnly bool + TeamAdminOnly bool + type NoticeMessageInternal struct + Action *NoticeAction + ActionParam *string + ActionText *string + Description string + Image *string + Title string + type NoticeMessages []NoticeMessage + func UnmarshalProductNoticeMessages(data io.Reader) (NoticeMessages, error) + func (r *NoticeMessages) Marshal() ([]byte, error) + type NoticeSKU string + const NoticeSKU_All + const NoticeSKU_E0 + const NoticeSKU_E10 + const NoticeSKU_E20 + const NoticeSKU_Team + func NewNoticeSKU(s NoticeSKU) *NoticeSKU + func (c *NoticeSKU) Matches(s string) bool + type NotificationLogSettings struct + AdvancedLoggingConfig *string + ConsoleJson *bool + ConsoleLevel *string + EnableConsole *bool + EnableFile *bool + FileJson *bool + FileLevel *string + FileLocation *string + func (s *NotificationLogSettings) SetDefaults() + type OAuthApp struct + CallbackUrls StringArray + ClientSecret string + CreateAt int64 + CreatorId string + Description string + Homepage string + IconURL string + Id string + IsTrusted bool + Name string + UpdateAt int64 + func OAuthAppFromJson(data io.Reader) *OAuthApp + func OAuthAppListFromJson(data io.Reader) []*OAuthApp + func (a *OAuthApp) Etag() string + func (a *OAuthApp) IsValid() *AppError + func (a *OAuthApp) IsValidRedirectURL(url string) bool + func (a *OAuthApp) PreSave() + func (a *OAuthApp) PreUpdate() + func (a *OAuthApp) Sanitize() + func (a *OAuthApp) ToJson() string + type Office365Settings struct + AuthEndpoint *string + DirectoryId *string + DiscoveryEndpoint *string + Enable *bool + Id *string + Scope *string + Secret *string + TokenEndpoint *string + UserApiEndpoint *string + func (s *Office365Settings) SSOSettings() *SSOSettings + type OpenDialogRequest struct + Dialog Dialog + TriggerId string + URL string + func (r *OpenDialogRequest) DecodeAndVerifyTriggerId(s *ecdsa.PrivateKey) (string, string, *AppError) + type OrderedSidebarCategories struct + Categories SidebarCategoriesWithChannels + Order SidebarCategoryOrder + func OrderedSidebarCategoriesFromJson(data io.Reader) (*OrderedSidebarCategories, error) + func (o OrderedSidebarCategories) ToJson() []byte + type Organization struct + OrganizationDisplayNames []LocalizedName + OrganizationNames []LocalizedName + OrganizationURLs []LocalizedURI + XMLName xml.Name + type OrphanedRecord struct + ChildId *string + ParentId *string + type OutgoingWebhook struct + CallbackURLs StringArray + ChannelId string + ContentType string + CreateAt int64 + CreatorId string + DeleteAt int64 + Description string + DisplayName string + IconURL string + Id string + TeamId string + Token string + TriggerWhen int + TriggerWords StringArray + UpdateAt int64 + Username string + func OutgoingWebhookFromJson(data io.Reader) *OutgoingWebhook + func OutgoingWebhookListFromJson(data io.Reader) []*OutgoingWebhook + func (o *OutgoingWebhook) GetTriggerWord(word string, isExactMatch bool) (triggerWord string) + func (o *OutgoingWebhook) IsValid() *AppError + func (o *OutgoingWebhook) PreSave() + func (o *OutgoingWebhook) PreUpdate() + func (o *OutgoingWebhook) ToJson() string + func (o *OutgoingWebhook) TriggerWordExactMatch(word string) bool + func (o *OutgoingWebhook) TriggerWordStartsWith(word string) bool + type OutgoingWebhookPayload struct + ChannelId string + ChannelName string + FileIds string + PostId string + TeamDomain string + TeamId string + Text string + Timestamp int64 + Token string + TriggerWord string + UserId string + UserName string + func (o *OutgoingWebhookPayload) ToFormValues() string + func (o *OutgoingWebhookPayload) ToJSON() string + type OutgoingWebhookResponse struct + Attachments []*SlackAttachment + IconURL string + Props StringInterface + ResponseType string + Text *string + Type string + Username string + func OutgoingWebhookResponseFromJson(data io.Reader) (*OutgoingWebhookResponse, error) + func (o *OutgoingWebhookResponse) ToJson() string + type PageOpts struct + Page int + PerPage int + type PasswordSettings struct + Lowercase *bool + MinimumLength *int + Number *bool + Symbol *bool + Uppercase *bool + func (s *PasswordSettings) SetDefaults() + type PaymentMethod struct + CardBrand string + ExpMonth int + ExpYear int + LastFour int + Name string + Type string + type Permission struct + Description string + Id string + Name string + Scope string + var PERMISSION_ADD_REACTION *Permission + var PERMISSION_ADD_USER_TO_TEAM *Permission + var PERMISSION_ASSIGN_BOT *Permission + var PERMISSION_ASSIGN_SYSTEM_ADMIN_ROLE *Permission + var PERMISSION_CONVERT_PRIVATE_CHANNEL_TO_PUBLIC *Permission + var PERMISSION_CONVERT_PUBLIC_CHANNEL_TO_PRIVATE *Permission + var PERMISSION_CREATE_BOT *Permission + var PERMISSION_CREATE_DIRECT_CHANNEL *Permission + var PERMISSION_CREATE_EMOJIS *Permission + var PERMISSION_CREATE_GROUP_CHANNEL *Permission + var PERMISSION_CREATE_POST *Permission + var PERMISSION_CREATE_POST_EPHEMERAL *Permission + var PERMISSION_CREATE_POST_PUBLIC *Permission + var PERMISSION_CREATE_PRIVATE_CHANNEL *Permission + var PERMISSION_CREATE_PUBLIC_CHANNEL *Permission + var PERMISSION_CREATE_TEAM *Permission + var PERMISSION_CREATE_USER_ACCESS_TOKEN *Permission + var PERMISSION_DELETE_EMOJIS *Permission + var PERMISSION_DELETE_OTHERS_EMOJIS *Permission + var PERMISSION_DELETE_OTHERS_POSTS *Permission + var PERMISSION_DELETE_POST *Permission + var PERMISSION_DELETE_PRIVATE_CHANNEL *Permission + var PERMISSION_DELETE_PUBLIC_CHANNEL *Permission + var PERMISSION_DEMOTE_TO_GUEST *Permission + var PERMISSION_EDIT_BRAND *Permission + var PERMISSION_EDIT_OTHERS_POSTS *Permission + var PERMISSION_EDIT_OTHER_USERS *Permission + var PERMISSION_EDIT_POST *Permission + var PERMISSION_GET_PUBLIC_LINK *Permission + var PERMISSION_IMPORT_TEAM *Permission + var PERMISSION_INVITE_GUEST *Permission + var PERMISSION_INVITE_USER *Permission + var PERMISSION_JOIN_PRIVATE_TEAMS *Permission + var PERMISSION_JOIN_PUBLIC_CHANNELS *Permission + var PERMISSION_JOIN_PUBLIC_TEAMS *Permission + var PERMISSION_LIST_PRIVATE_TEAMS *Permission + var PERMISSION_LIST_PUBLIC_TEAMS *Permission + var PERMISSION_LIST_TEAM_CHANNELS *Permission + var PERMISSION_LIST_USERS_WITHOUT_TEAM *Permission + var PERMISSION_MANAGE_BOTS *Permission + var PERMISSION_MANAGE_CHANNEL_ROLES *Permission + var PERMISSION_MANAGE_EMOJIS *Permission + var PERMISSION_MANAGE_INCOMING_WEBHOOKS *Permission + var PERMISSION_MANAGE_JOBS *Permission + var PERMISSION_MANAGE_OAUTH *Permission + var PERMISSION_MANAGE_OTHERS_BOTS *Permission + var PERMISSION_MANAGE_OTHERS_EMOJIS *Permission + var PERMISSION_MANAGE_OTHERS_INCOMING_WEBHOOKS *Permission + var PERMISSION_MANAGE_OTHERS_OUTGOING_WEBHOOKS *Permission + var PERMISSION_MANAGE_OTHERS_SLASH_COMMANDS *Permission + var PERMISSION_MANAGE_OTHERS_WEBHOOKS *Permission + var PERMISSION_MANAGE_OUTGOING_WEBHOOKS *Permission + var PERMISSION_MANAGE_PRIVATE_CHANNEL_MEMBERS *Permission + var PERMISSION_MANAGE_PRIVATE_CHANNEL_PROPERTIES *Permission + var PERMISSION_MANAGE_PUBLIC_CHANNEL_MEMBERS *Permission + var PERMISSION_MANAGE_PUBLIC_CHANNEL_PROPERTIES *Permission + var PERMISSION_MANAGE_REMOTE_CLUSTERS *Permission + var PERMISSION_MANAGE_ROLES *Permission + var PERMISSION_MANAGE_SHARED_CHANNELS *Permission + var PERMISSION_MANAGE_SLASH_COMMANDS *Permission + var PERMISSION_MANAGE_SYSTEM *Permission + var PERMISSION_MANAGE_SYSTEM_WIDE_OAUTH *Permission + var PERMISSION_MANAGE_TEAM *Permission + var PERMISSION_MANAGE_TEAM_ROLES *Permission + var PERMISSION_MANAGE_WEBHOOKS *Permission + var PERMISSION_PERMANENT_DELETE_USER *Permission + var PERMISSION_PROMOTE_GUEST *Permission + var PERMISSION_READ_BOTS *Permission + var PERMISSION_READ_CHANNEL *Permission + var PERMISSION_READ_JOBS *Permission + var PERMISSION_READ_OTHERS_BOTS *Permission + var PERMISSION_READ_OTHER_USERS_TEAMS *Permission + var PERMISSION_READ_PRIVATE_CHANNEL_GROUPS *Permission + var PERMISSION_READ_PUBLIC_CHANNEL *Permission + var PERMISSION_READ_PUBLIC_CHANNEL_GROUPS *Permission + var PERMISSION_READ_USER_ACCESS_TOKEN *Permission + var PERMISSION_REMOVE_OTHERS_REACTIONS *Permission + var PERMISSION_REMOVE_REACTION *Permission + var PERMISSION_REMOVE_USER_FROM_TEAM *Permission + var PERMISSION_REVOKE_USER_ACCESS_TOKEN *Permission + var PERMISSION_SYSCONSOLE_READ_ABOUT *Permission + var PERMISSION_SYSCONSOLE_READ_AUTHENTICATION *Permission + var PERMISSION_SYSCONSOLE_READ_BILLING *Permission + var PERMISSION_SYSCONSOLE_READ_COMPLIANCE *Permission + var PERMISSION_SYSCONSOLE_READ_ENVIRONMENT *Permission + var PERMISSION_SYSCONSOLE_READ_EXPERIMENTAL *Permission + var PERMISSION_SYSCONSOLE_READ_INTEGRATIONS *Permission + var PERMISSION_SYSCONSOLE_READ_PLUGINS *Permission + var PERMISSION_SYSCONSOLE_READ_REPORTING *Permission + var PERMISSION_SYSCONSOLE_READ_SITE *Permission + var PERMISSION_SYSCONSOLE_READ_USERMANAGEMENT_CHANNELS *Permission + var PERMISSION_SYSCONSOLE_READ_USERMANAGEMENT_GROUPS *Permission + var PERMISSION_SYSCONSOLE_READ_USERMANAGEMENT_PERMISSIONS *Permission + var PERMISSION_SYSCONSOLE_READ_USERMANAGEMENT_SYSTEM_ROLES *Permission + var PERMISSION_SYSCONSOLE_READ_USERMANAGEMENT_TEAMS *Permission + var PERMISSION_SYSCONSOLE_READ_USERMANAGEMENT_USERS *Permission + var PERMISSION_SYSCONSOLE_WRITE_ABOUT *Permission + var PERMISSION_SYSCONSOLE_WRITE_AUTHENTICATION *Permission + var PERMISSION_SYSCONSOLE_WRITE_BILLING *Permission + var PERMISSION_SYSCONSOLE_WRITE_COMPLIANCE *Permission + var PERMISSION_SYSCONSOLE_WRITE_ENVIRONMENT *Permission + var PERMISSION_SYSCONSOLE_WRITE_EXPERIMENTAL *Permission + var PERMISSION_SYSCONSOLE_WRITE_INTEGRATIONS *Permission + var PERMISSION_SYSCONSOLE_WRITE_PLUGINS *Permission + var PERMISSION_SYSCONSOLE_WRITE_REPORTING *Permission + var PERMISSION_SYSCONSOLE_WRITE_SITE *Permission + var PERMISSION_SYSCONSOLE_WRITE_USERMANAGEMENT_CHANNELS *Permission + var PERMISSION_SYSCONSOLE_WRITE_USERMANAGEMENT_GROUPS *Permission + var PERMISSION_SYSCONSOLE_WRITE_USERMANAGEMENT_PERMISSIONS *Permission + var PERMISSION_SYSCONSOLE_WRITE_USERMANAGEMENT_SYSTEM_ROLES *Permission + var PERMISSION_SYSCONSOLE_WRITE_USERMANAGEMENT_TEAMS *Permission + var PERMISSION_SYSCONSOLE_WRITE_USERMANAGEMENT_USERS *Permission + var PERMISSION_UPLOAD_FILE *Permission + var PERMISSION_USE_CHANNEL_MENTIONS *Permission + var PERMISSION_USE_GROUP_MENTIONS *Permission + var PERMISSION_USE_SLASH_COMMANDS *Permission + var PERMISSION_VIEW_MEMBERS *Permission + var PERMISSION_VIEW_TEAM *Permission + type PluginEventData struct + Id string + func PluginEventDataFromJson(data io.Reader) PluginEventData + func (p *PluginEventData) ToJson() string + type PluginInfo struct + type PluginKVSetOptions struct + Atomic bool + ExpireInSeconds int64 + OldValue []byte + func (opt *PluginKVSetOptions) IsValid() *AppError + type PluginKeyValue struct + ExpireAt int64 + Key string + PluginId string + Value []byte + func (kv *PluginKeyValue) IsValid() *AppError + type PluginOption struct + DisplayName string + Value string + type PluginSetting struct + Default interface{} + DisplayName string + HelpText string + Key string + Options []*PluginOption + Placeholder string + RegenerateHelpText string + Type string + type PluginSettingType int + const Bool + const Custom + const Dropdown + const Generated + const LongText + const Number + const Radio + const Text + const Username + type PluginSettings struct + AllowInsecureDownloadUrl *bool + AutomaticPrepackagedPlugins *bool + ClientDirectory *string + Directory *string + Enable *bool + EnableHealthCheck *bool + EnableMarketplace *bool + EnableRemoteMarketplace *bool + EnableUploads *bool + MarketplaceUrl *string + PluginStates map[string]*PluginState + Plugins map[string]map[string]interface{} + RequirePluginSignature *bool + SignaturePublicKeyFiles []string + func (s *PluginSettings) SetDefaults(ls LogSettings) + type PluginSettingsSchema struct + Footer string + Header string + Settings []*PluginSetting + type PluginState struct + Enable bool + type PluginStatus struct + ClusterId string + Description string + Name string + PluginId string + PluginPath string + State int + Version string + type PluginStatuses []*PluginStatus + func PluginStatusesFromJson(data io.Reader) PluginStatuses + func (m *PluginStatuses) ToJson() string + type PluginsResponse struct + Active []*PluginInfo + Inactive []*PluginInfo + func PluginsResponseFromJson(data io.Reader) *PluginsResponse + func (m *PluginsResponse) ToJson() string + type Post struct + ChannelId string + CreateAt int64 + DeleteAt int64 + EditAt int64 + FileIds StringArray + Filenames StringArray + HasReactions bool + Hashtags string + Id string + IsPinned bool + Message string + MessageSource string + Metadata *PostMetadata + OriginalId string + ParentId string + PendingPostId string + Props StringInterface + ReplyCount int64 + RootId string + Type string + UpdateAt int64 + UserId string + func AddPostActionCookies(o *Post, secret []byte) *Post + func PostFromJson(data io.Reader) *Post + func (o *Post) AddProp(key string, value interface{}) + func (o *Post) Attachments() []*SlackAttachment + func (o *Post) AttachmentsEqual(input *Post) bool + func (o *Post) ChannelMentions() []string + func (o *Post) Clone() *Post + func (o *Post) DelProp(key string) + func (o *Post) DisableMentionHighlights() string + func (o *Post) Etag() string + func (o *Post) GenerateActionIds() + func (o *Post) GetAction(id string) *PostAction + func (o *Post) GetProp(key string) interface{} + func (o *Post) GetProps() StringInterface + func (o *Post) IsJoinLeaveMessage() bool + func (o *Post) IsSystemMessage() bool + func (o *Post) IsValid(maxPostSize int) *AppError + func (o *Post) MakeNonNil() + func (o *Post) Patch(patch *PostPatch) + func (o *Post) PreCommit() + func (o *Post) PreSave() + func (o *Post) SanitizeProps() + func (o *Post) SetProps(props StringInterface) + func (o *Post) ShallowCopy(dst *Post) error + func (o *Post) StripActionIntegrations() + func (o *Post) ToJson() string + func (o *Post) ToUnsanitizedJson() string + func (o *Post) WithRewrittenImageURLs(f func(string) string) *Post + type PostAction struct + Cookie string + DataSource string + DefaultOption string + Disabled bool + Id string + Integration *PostActionIntegration + Name string + Options []*PostActionOptions + Style string + Type string + func (p *PostAction) Equals(input *PostAction) bool + type PostActionAPIResponse struct + Status string + TriggerId string + type PostActionCookie struct + ChannelId string + DataSource string + Integration *PostActionIntegration + PostId string + RemoveProps []string + RetainProps map[string]interface{} + RootPostId string + Type string + type PostActionIntegration struct + Context map[string]interface{} + URL string + type PostActionIntegrationRequest struct + ChannelId string + ChannelName string + Context map[string]interface{} + DataSource string + PostId string + TeamId string + TeamName string + TriggerId string + Type string + UserId string + UserName string + func PostActionIntegrationRequestFromJson(data io.Reader) *PostActionIntegrationRequest + func (r *PostActionIntegrationRequest) GenerateTriggerId(s crypto.Signer) (string, string, *AppError) + func (r *PostActionIntegrationRequest) ToJson() []byte + type PostActionIntegrationResponse struct + EphemeralText string + SkipSlackParsing bool + Update *Post + func PostActionIntegrationResponseFromJson(data io.Reader) *PostActionIntegrationResponse + func (r *PostActionIntegrationResponse) ToJson() []byte + type PostActionOptions struct + Text string + Value string + type PostEmbed struct + Data interface{} + Type PostEmbedType + URL string + type PostEmbedType string + const POST_EMBED_IMAGE + const POST_EMBED_LINK + const POST_EMBED_MESSAGE_ATTACHMENT + const POST_EMBED_OPENGRAPH + type PostEphemeral struct + Post *Post + UserID string + func (o *PostEphemeral) ToUnsanitizedJson() string + type PostForExport struct + ChannelName string + ReplyCount int + TeamName string + Username string + type PostForIndexing struct + ParentCreateAt *int64 + TeamId string + type PostImage struct + Format string + FrameCount int + Height int + Width int + func (o *PostImage) ToJson() string + type PostList struct + NextPostId string + Order []string + Posts map[string]*Post + PrevPostId string + func NewPostList() *PostList + func PostListFromJson(data io.Reader) *PostList + func (o *PostList) AddOrder(id string) + func (o *PostList) AddPost(post *Post) + func (o *PostList) Etag() string + func (o *PostList) Extend(other *PostList) + func (o *PostList) IsChannelId(channelId string) bool + func (o *PostList) MakeNonNil() + func (o *PostList) SortByCreateAt() + func (o *PostList) StripActionIntegrations() + func (o *PostList) ToJson() string + func (o *PostList) ToSlice() []*Post + func (o *PostList) UniqueOrder() + func (o *PostList) WithRewrittenImageURLs(f func(string) string) *PostList + type PostMetadata struct + Embeds []*PostEmbed + Emojis []*Emoji + Files []*FileInfo + Images map[string]*PostImage + Reactions []*Reaction + type PostPatch struct + FileIds *StringArray + HasReactions *bool + IsPinned *bool + Message *string + Props *StringInterface + func PostPatchFromJson(data io.Reader) *PostPatch + func (o *PostPatch) DisableMentionHighlights() + func (o *PostPatch) ToJson() string + func (o *PostPatch) WithRewrittenImageURLs(f func(string) string) *PostPatch + type PostSearchMatches map[string][]string + type PostSearchResults struct + Matches PostSearchMatches + func MakePostSearchResults(posts *PostList, matches PostSearchMatches) *PostSearchResults + func PostSearchResultsFromJson(data io.Reader) *PostSearchResults + func (o *PostSearchResults) ToJson() string + type Preference struct + Category string + Name string + UserId string + Value string + func PreferenceFromJson(data io.Reader) *Preference + func (o *Preference) IsValid() *AppError + func (o *Preference) PreUpdate() + func (o *Preference) ToJson() string + type Preferences []Preference + func PreferencesFromJson(data io.Reader) (Preferences, error) + func (o *Preferences) ToJson() string + type PrivacySettings struct + ShowEmailAddress *bool + ShowFullName *bool + type Product struct + AddOns []*AddOn + Description string + ID string + Name string + PricePerSeat float64 + type ProductNotice struct + Conditions Conditions + ID string + LocalizedMessages map[string]NoticeMessageInternal + Repeatable *bool + func (n *ProductNotice) SysAdminOnly() bool + func (n *ProductNotice) TeamAdminOnly() bool + type ProductNoticeViewState struct + NoticeId string + Timestamp int64 + UserId string + Viewed int32 + type ProductNotices []ProductNotice + func UnmarshalProductNotices(data []byte) (ProductNotices, error) + func (r *ProductNotices) Marshal() ([]byte, error) + type PushNotification struct + AckId string + Badge int + Category string + ChannelId string + ChannelName string + ContentAvailable int + DeviceId string + FromWebhook string + IsIdLoaded bool + Message string + OverrideIconUrl string + OverrideUsername string + Platform string + PostId string + RootId string + SenderId string + SenderName string + ServerId string + Sound string + TeamId string + Type string + Version string + func PushNotificationFromJson(data io.Reader) (*PushNotification, error) + func (pn *PushNotification) DeepCopy() *PushNotification + func (pn *PushNotification) SetDeviceIdAndPlatform(deviceId string) + func (pn *PushNotification) ToJson() string + type PushNotificationAck struct + ClientPlatform string + ClientReceivedAt int64 + Id string + IsIdLoaded bool + NotificationType string + PostId string + func PushNotificationAckFromJson(data io.Reader) (*PushNotificationAck, error) + func (ack *PushNotificationAck) ToJson() string + type PushResponse map[string]string + func NewErrorPushResponse(message string) PushResponse + func NewOkPushResponse() PushResponse + func NewRemovePushResponse() PushResponse + func PushResponseFromJson(data io.Reader) PushResponse + func (pr *PushResponse) ToJson() string + type RateLimitSettings struct + Enable *bool + MaxBurst *int + MemoryStoreSize *int + PerSec *int + VaryByHeader string + VaryByRemoteAddr *bool + VaryByUser *bool + func (s *RateLimitSettings) SetDefaults() + type Reaction struct + CreateAt int64 + EmojiName string + PostId string + UserId string + func ReactionFromJson(data io.Reader) *Reaction + func ReactionsFromJson(data io.Reader) []*Reaction + func (o *Reaction) IsValid() *AppError + func (o *Reaction) PreSave() + func (o *Reaction) ToJson() string + type RelationalIntegrityCheckData struct + ChildIdAttr string + ChildName string + ParentIdAttr string + ParentName string + Records []OrphanedRecord + type ReplyForExport struct + Username string + type Response struct + Error *AppError + Etag string + Header http.Header + RequestId string + ServerVersion string + StatusCode int + func BuildErrorResponse(r *http.Response, err *AppError) *Response + func BuildResponse(r *http.Response) *Response + type Role struct + BuiltIn bool + CreateAt int64 + DeleteAt int64 + Description string + DisplayName string + Id string + Name string + Permissions []string + SchemeManaged bool + UpdateAt int64 + func RoleFromJson(data io.Reader) *Role + func RoleListFromJson(data io.Reader) []*Role + func (r *Role) GetChannelModeratedPermissions(channelType string) map[string]bool + func (r *Role) IsValid() bool + func (r *Role) IsValidWithoutId() bool + func (r *Role) MergeChannelHigherScopedPermissions(higherScopedPermissions *RolePermissions) + func (r *Role) Patch(patch *RolePatch) + func (r *Role) RolePatchFromChannelModerationsPatch(channelModerationsPatch []*ChannelModerationPatch, roleName string) *RolePatch + func (r *Role) ToJson() string + type RoleDescriptor struct + CacheDuration time.Duration + ContactPersons []ContactPerson + ErrorURL string + ID string + KeyDescriptors []KeyDescriptor + Organization *Organization + ProtocolSupportEnumeration string + ValidUntil time.Time + XMLName xml.Name + type RolePatch struct + Permissions *[]string + func RolePatchFromJson(data io.Reader) *RolePatch + func (r *RolePatch) ToJson() string + type RolePermissions struct + Permissions []string + RoleID string + type RoleScope string + type RoleType string + type SSODescriptor struct + ArtifactResolutionServices []IndexedEndpoint + ManageNameIDServices []Endpoint + NameIDFormats []NameIDFormat + SingleLogoutServices []Endpoint + XMLName xml.Name + type SSOSettings struct + AuthEndpoint *string + ButtonColor *string + ButtonText *string + DiscoveryEndpoint *string + Enable *bool + Id *string + Scope *string + Secret *string + TokenEndpoint *string + UserApiEndpoint *string + type SamlAuthRequest struct + Base64AuthRequest string + RelayState string + URL string + type SamlCertificateStatus struct + IdpCertificateFile bool + PrivateKeyFile bool + PublicCertificateFile bool + func SamlCertificateStatusFromJson(data io.Reader) *SamlCertificateStatus + func (s *SamlCertificateStatus) ToJson() string + type SamlMetadataResponse struct + IdpDescriptorUrl string + IdpPublicCertificate string + IdpUrl string + func SamlMetadataResponseFromJson(data io.Reader) *SamlMetadataResponse + func (s *SamlMetadataResponse) ToJson() string + type SamlSettings struct + AdminAttribute *string + AssertionConsumerServiceURL *string + CanonicalAlgorithm *string + EmailAttribute *string + Enable *bool + EnableAdminAttribute *bool + EnableSyncWithLdap *bool + EnableSyncWithLdapIncludeAuth *bool + Encrypt *bool + FirstNameAttribute *string + GuestAttribute *string + IdAttribute *string + IdpCertificateFile *string + IdpDescriptorUrl *string + IdpMetadataUrl *string + IdpUrl *string + IgnoreGuestsLdapSync *bool + LastNameAttribute *string + LocaleAttribute *string + LoginButtonBorderColor *string + LoginButtonColor *string + LoginButtonText *string + LoginButtonTextColor *string + NicknameAttribute *string + PositionAttribute *string + PrivateKeyFile *string + PublicCertificateFile *string + ScopingIDPName *string + ScopingIDPProviderId *string + ServiceProviderIdentifier *string + SignRequest *bool + SignatureAlgorithm *string + UsernameAttribute *string + Verify *bool + func (s *SamlSettings) SetDefaults() + type ScheduledTask struct + Interval time.Duration + Name string + Recurring bool + func CreateRecurringTask(name string, function TaskFunc, interval time.Duration) *ScheduledTask + func CreateTask(name string, function TaskFunc, timeToExecution time.Duration) *ScheduledTask + func (task *ScheduledTask) Cancel() + func (task *ScheduledTask) String() string + type Scheduler interface + Enabled func(cfg *Config) bool + JobType func() string + Name func() string + NextScheduleTime func(cfg *Config, now time.Time, pendingJobs bool, lastSuccessfulJob *Job) *time.Time + ScheduleJob func(cfg *Config, pendingJobs bool, lastSuccessfulJob *Job) (*Job, *AppError) + type Scheme struct + CreateAt int64 + DefaultChannelAdminRole string + DefaultChannelGuestRole string + DefaultChannelUserRole string + DefaultTeamAdminRole string + DefaultTeamGuestRole string + DefaultTeamUserRole string + DeleteAt int64 + Description string + DisplayName string + Id string + Name string + Scope string + UpdateAt int64 + func SchemeFromJson(data io.Reader) *Scheme + func SchemesFromJson(data io.Reader) []*Scheme + func (scheme *Scheme) IsValid() bool + func (scheme *Scheme) IsValidForCreate() bool + func (scheme *Scheme) Patch(patch *SchemePatch) + func (scheme *Scheme) ToJson() string + type SchemeConveyor struct + ChannelAdmin string + ChannelGuest string + ChannelUser string + Description string + DisplayName string + Name string + Roles []*Role + Scope string + TeamAdmin string + TeamGuest string + TeamUser string + func (sc *SchemeConveyor) Scheme() *Scheme + type SchemeIDPatch struct + SchemeID *string + func (p *SchemeIDPatch) ToJson() string + type SchemePatch struct + Description *string + DisplayName *string + Name *string + func SchemePatchFromJson(data io.Reader) *SchemePatch + func (patch *SchemePatch) ToJson() string + type SchemeRoles struct + SchemeAdmin bool + SchemeGuest bool + SchemeUser bool + func SchemeRolesFromJson(data io.Reader) *SchemeRoles + func (schemeRoles *SchemeRoles) ToJson() string + type SearchParameter struct + IncludeDeletedChannels *bool + IsOrSearch *bool + Page *int + PerPage *int + Terms *string + TimeZoneOffset *int + func SearchParameterFromJson(data io.Reader) (*SearchParameter, error) + func (o *SearchParameter) SearchParameterToJson() string + type SearchParams struct + AfterDate string + BeforeDate string + ExcludedAfterDate string + ExcludedBeforeDate string + ExcludedChannels []string + ExcludedDate string + ExcludedTerms string + ExcludedUsers []string + FromUsers []string + InChannels []string + IncludeDeletedChannels bool + IsHashtag bool + OnDate string + OrTerms bool + SearchWithoutUserId bool + Terms string + TimeZoneOffset int + func ParseSearchParams(text string, timeZoneOffset int) []*SearchParams + func (p *SearchParams) GetAfterDateMillis() int64 + func (p *SearchParams) GetBeforeDateMillis() int64 + func (p *SearchParams) GetExcludedAfterDateMillis() int64 + func (p *SearchParams) GetExcludedBeforeDateMillis() int64 + func (p *SearchParams) GetExcludedDateMillis() (int64, int64) + func (p *SearchParams) GetOnDateMillis() (int64, int64) + type SecurityBulletin struct + AppliesToVersion string + Id string + func SecurityBulletinFromJson(data io.Reader) *SecurityBulletin + func (sb *SecurityBulletin) ToJson() string + type SecurityBulletins []SecurityBulletin + func SecurityBulletinsFromJson(data io.Reader) SecurityBulletins + func (sb SecurityBulletins) ToJson() string + type SendWarnMetricAck struct + ForceAck bool + func SendWarnMetricAckFromJson(r io.Reader) *SendWarnMetricAck + func (swma *SendWarnMetricAck) ToJson() string + type ServerBusyState struct + Busy bool + Expires int64 + Expires_ts string + func ServerBusyStateFromJson(r io.Reader) *ServerBusyState + func (sbs *ServerBusyState) ToJson() string + type ServiceSettings struct + AllowCookiesForSubdomains *bool + AllowCorsFrom *string + AllowedUntrustedInternalConnections *string + CloseUnusedDirectMessages *bool + ClusterLogTimeoutMilliseconds *int + CollapsedThreads *string + ConnectionSecurity *string + CorsAllowCredentials *bool + CorsDebug *bool + CorsExposedHeaders *string + DEPRECATED_DO_NOT_USE_AllowEditPost *string + DEPRECATED_DO_NOT_USE_EnableOnlyAdminIntegrations *bool + DEPRECATED_DO_NOT_USE_ImageProxyOptions *string + DEPRECATED_DO_NOT_USE_ImageProxyType *string + DEPRECATED_DO_NOT_USE_ImageProxyURL *string + DEPRECATED_DO_NOT_USE_RestrictCustomEmojiCreation *string + DEPRECATED_DO_NOT_USE_RestrictPostDelete *string + DebugSplit *bool + DisableBotsWhenOwnerIsDeactivated *bool + DisableLegacyMFA *bool + EnableAPIChannelDeletion *bool + EnableAPITeamDeletion *bool + EnableAPIUserDeletion *bool + EnableAWSMetering *bool + EnableBotAccountCreation *bool + EnableChannelViewedMessages *bool + EnableCommands *bool + EnableCustomEmoji *bool + EnableDeveloper *bool + EnableEmailInvitations *bool + EnableEmojiPicker *bool + EnableGifPicker *bool + EnableIncomingWebhooks *bool + EnableInsecureOutgoingConnections *bool + EnableLatex *bool + EnableLinkPreviews *bool + EnableLocalMode *bool + EnableMultifactorAuthentication *bool + EnableOAuthServiceProvider *bool + EnableOpenTracing *bool + EnableOutgoingWebhooks *bool + EnablePostIconOverride *bool + EnablePostSearch *bool + EnablePostUsernameOverride *bool + EnablePreviewFeatures *bool + EnableSVGs *bool + EnableSecurityFixAlert *bool + EnableTesting *bool + EnableTutorial *bool + EnableUserAccessTokens *bool + EnableUserStatuses *bool + EnableUserTypingMessages *bool + EnforceMultifactorAuthentication *bool + ExperimentalChannelOrganization *bool + ExperimentalChannelSidebarOrganization *string + ExperimentalEnableAuthenticationTransfer *bool + ExperimentalEnableDefaultChannelLeaveJoinMessages *bool + ExperimentalEnableHardenedMode *bool + ExperimentalGroupUnreadChannels *string + ExperimentalStrictCSRFEnforcement *bool + ExtendSessionLengthWithActivity *bool + FeatureFlagSyncIntervalSeconds *int + Forward80To443 *bool + GfycatApiKey *string + GfycatApiSecret *string + GoogleDeveloperKey *string + GoroutineHealthThreshold *int + IdleTimeout *int + LetsEncryptCertificateCacheFile *string + LicenseFileLocation *string + ListenAddress *string + LocalModeSocketLocation *string + ManagedResourcePaths *string + MaximumLoginAttempts *int + MinimumHashtagLength *int + PostEditTimeLimit *int + ReadTimeout *int + SessionCacheInMinutes *int + SessionIdleTimeoutInMinutes *int + SessionLengthMobileInDays *int + SessionLengthSSOInDays *int + SessionLengthWebInDays *int + SiteURL *string + SplitKey *string + TLSCertFile *string + TLSKeyFile *string + TLSMinVer *string + TLSOverwriteCiphers []string + TLSStrictTransport *bool + TLSStrictTransportMaxAge *int64 + ThreadAutoFollow *bool + TimeBetweenUserTypingUpdatesMilliseconds *int64 + TrustedProxyIPHeader []string + UseLetsEncrypt *bool + WebserverMode *string + WebsocketPort *int + WebsocketSecurePort *int + WebsocketURL *string + WriteTimeout *int + func (s *ServiceSettings) SetDefaults(isUpdate bool) + type Session struct + CreateAt int64 + DeviceId string + ExpiredNotify bool + ExpiresAt int64 + Id string + IsOAuth bool + LastActivityAt int64 + Local bool + Props StringMap + Roles string + TeamMembers []*TeamMember + Token string + UserId string + func SessionFromJson(data io.Reader) *Session + func SessionsFromJson(data io.Reader) []*Session + func (s *Session) AddProp(key string, value string) + func (s *Session) DeepCopy() *Session + func (s *Session) GenerateCSRF() string + func (s *Session) GetCSRF() string + func (s *Session) GetTeamByTeamId(teamId string) *TeamMember + func (s *Session) GetUserRoles() []string + func (s *Session) IsExpired() bool + func (s *Session) IsMobile() bool + func (s *Session) IsMobileApp() bool + func (s *Session) IsOAuthUser() bool + func (s *Session) IsSSOLogin() bool + func (s *Session) IsSaml() bool + func (s *Session) IsUnrestricted() bool + func (s *Session) PreSave() + func (s *Session) Sanitize() + func (s *Session) SetExpireInDays(days int) + func (s *Session) ToJson() string + func (z *Session) DecodeMsg(dc *msgp.Reader) (err error) + func (z *Session) EncodeMsg(en *msgp.Writer) (err error) + func (z *Session) MarshalMsg(b []byte) (o []byte, err error) + func (z *Session) Msgsize() (s int) + func (z *Session) UnmarshalMsg(bts []byte) (o []byte, err error) + type SidebarCategoriesWithChannels []*SidebarCategoryWithChannels + type SidebarCategory struct + DisplayName string + Id string + Muted bool + SortOrder int64 + Sorting SidebarCategorySorting + TeamId string + Type SidebarCategoryType + UserId string + type SidebarCategoryOrder []string + type SidebarCategorySorting string + type SidebarCategoryType string + type SidebarCategoryWithChannels struct + Channels []string + func SidebarCategoriesFromJson(data io.Reader) ([]*SidebarCategoryWithChannels, error) + func SidebarCategoryFromJson(data io.Reader) (*SidebarCategoryWithChannels, error) + func (o SidebarCategoryWithChannels) ToJson() []byte + type SidebarChannel struct + CategoryId string + ChannelId string + SortOrder int64 + UserId string + type SidebarChannels []*SidebarChannel + type SlackAttachment struct + Actions []*PostAction + AuthorIcon string + AuthorLink string + AuthorName string + Color string + Fallback string + Fields []*SlackAttachmentField + Footer string + FooterIcon string + Id int64 + ImageURL string + Pretext string + Text string + ThumbURL string + Timestamp interface{} + Title string + TitleLink string + func StringifySlackFieldValue(a []*SlackAttachment) []*SlackAttachment + func (s *SlackAttachment) Equals(input *SlackAttachment) bool + type SlackAttachmentField struct + Short SlackCompatibleBool + Title string + Value interface{} + func (s *SlackAttachmentField) Equals(input *SlackAttachmentField) bool + type SlackCompatibleBool bool + func (b *SlackCompatibleBool) UnmarshalJSON(data []byte) error + type SqlSettings struct + AtRestEncryptKey *string + ConnMaxLifetimeMilliseconds *int + DataSource *string + DataSourceReplicas []string + DataSourceSearchReplicas []string + DisableDatabaseSearch *bool + DriverName *string + MaxIdleConns *int + MaxOpenConns *int + QueryTimeout *int + Trace *bool + func (s *SqlSettings) SetDefaults(isUpdate bool) + type Status struct + ActiveChannel string + LastActivityAt int64 + Manual bool + Status string + UserId string + func StatusFromJson(data io.Reader) *Status + func StatusListFromJson(data io.Reader) []*Status + func (o *Status) ToClusterJson() string + func (o *Status) ToJson() string + type StringArray []string + func (sa StringArray) Contains(input string) bool + func (sa StringArray) Equals(input StringArray) bool + func (sa StringArray) Remove(input string) StringArray + type StringInterface map[string]interface + type StringMap map[string]string + func GetDefaultChannelNotifyProps() StringMap + func (z *StringMap) DecodeMsg(dc *msgp.Reader) (err error) + func (z *StringMap) UnmarshalMsg(bts []byte) (o []byte, err error) + func (z StringMap) EncodeMsg(en *msgp.Writer) (err error) + func (z StringMap) MarshalMsg(b []byte) (o []byte, err error) + func (z StringMap) Msgsize() (s int) + type StripeSetupIntent struct + ClientSecret string + ID string + type SubmitDialogRequest struct + CallbackId string + Cancelled bool + ChannelId string + State string + Submission map[string]interface{} + TeamId string + Type string + URL string + UserId string + func SubmitDialogRequestFromJson(data io.Reader) *SubmitDialogRequest + func (r *SubmitDialogRequest) ToJson() []byte + type SubmitDialogResponse struct + Error string + Errors map[string]string + func SubmitDialogResponseFromJson(data io.Reader) *SubmitDialogResponse + func (r *SubmitDialogResponse) ToJson() []byte + type Subscription struct + AddOns []string + CreateAt int64 + CustomerID string + DNS string + EndAt int64 + ID string + IsPaidTier string + LastInvoice *Invoice + ProductID string + Seats int + StartAt int64 + Status string + type SuggestCommand struct + Description string + Suggestion string + func SuggestCommandFromJson(data io.Reader) *SuggestCommand + func (o *SuggestCommand) ToJson() string + type SupportSettings struct + AboutLink *string + CustomTermsOfServiceEnabled *bool + CustomTermsOfServiceReAcceptancePeriod *int + EnableAskCommunityLink *bool + HelpLink *string + PrivacyPolicyLink *string + ReportAProblemLink *string + SupportEmail *string + TermsOfServiceLink *string + func (s *SupportSettings) SetDefaults() + type SwitchRequest struct + CurrentService string + Email string + LdapLoginId string + MfaCode string + NewPassword string + NewService string + Password string + func SwitchRequestFromJson(data io.Reader) *SwitchRequest + func (o *SwitchRequest) EmailToLdap() bool + func (o *SwitchRequest) EmailToOAuth() bool + func (o *SwitchRequest) LdapToEmail() bool + func (o *SwitchRequest) OAuthToEmail() bool + func (o *SwitchRequest) ToJson() string + type System struct + Name string + Value string + func SystemFromJson(data io.Reader) *System + func (o *System) ToJson() string + type SystemAsymmetricSigningKey struct + ECDSAKey *SystemECDSAKey + type SystemECDSAKey struct + Curve string + D *big.Int + X *big.Int + Y *big.Int + type SystemPostActionCookieSecret struct + Secret []byte + type TaskFunc func() + type Team struct + AllowOpenInvite bool + AllowedDomains string + CompanyName string + CreateAt int64 + DeleteAt int64 + Description string + DisplayName string + Email string + GroupConstrained *bool + Id string + InviteId string + LastTeamIconUpdate int64 + Name string + SchemeId *string + Type string + UpdateAt int64 + func TeamFromJson(data io.Reader) *Team + func TeamListFromJson(data io.Reader) []*Team + func (o *Team) Etag() string + func (o *Team) IsGroupConstrained() bool + func (o *Team) IsValid() *AppError + func (o *Team) Patch(patch *TeamPatch) + func (o *Team) PreSave() + func (o *Team) PreUpdate() + func (o *Team) Sanitize() + func (o *Team) ToJson() string + type TeamForExport struct + SchemeName *string + type TeamMember struct + DeleteAt int64 + ExplicitRoles string + Roles string + SchemeAdmin bool + SchemeGuest bool + SchemeUser bool + TeamId string + UserId string + func TeamMemberFromJson(data io.Reader) *TeamMember + func TeamMembersFromJson(data io.Reader) []*TeamMember + func TeamMembersWithErrorToTeamMembers(o []*TeamMemberWithError) []*TeamMember + func (o *TeamMember) GetRoles() []string + func (o *TeamMember) IsValid() *AppError + func (o *TeamMember) PreUpdate() + func (o *TeamMember) ToJson() string + func (z *TeamMember) DecodeMsg(dc *msgp.Reader) (err error) + func (z *TeamMember) EncodeMsg(en *msgp.Writer) (err error) + func (z *TeamMember) MarshalMsg(b []byte) (o []byte, err error) + func (z *TeamMember) Msgsize() (s int) + func (z *TeamMember) UnmarshalMsg(bts []byte) (o []byte, err error) + type TeamMemberForExport struct + TeamName string + type TeamMemberWithError struct + Error *AppError + Member *TeamMember + UserId string + func TeamMembersWithErrorFromJson(data io.Reader) []*TeamMemberWithError + type TeamMembersGetOptions struct + ExcludeDeletedUsers bool + Sort string + ViewRestrictions *ViewUsersRestrictions + type TeamPatch struct + AllowOpenInvite *bool + AllowedDomains *string + CompanyName *string + Description *string + DisplayName *string + GroupConstrained *bool + func TeamPatchFromJson(data io.Reader) *TeamPatch + func (t *TeamPatch) ToJson() string + type TeamSearch struct + AllowOpenInvite *bool + GroupConstrained *bool + IncludeGroupConstrained *bool + Page *int + PerPage *int + Term string + func TeamSearchFromJson(data io.Reader) *TeamSearch + func (t *TeamSearch) IsPaginated() bool + func (t *TeamSearch) ToJson() string + type TeamSettings struct + CustomBrandText *string + CustomDescriptionText *string + DEPRECATED_DO_NOT_USE_EnableTeamCreation *bool + DEPRECATED_DO_NOT_USE_RestrictPrivateChannelCreation *string + DEPRECATED_DO_NOT_USE_RestrictPrivateChannelDeletion *string + DEPRECATED_DO_NOT_USE_RestrictPrivateChannelManageMembers *string + DEPRECATED_DO_NOT_USE_RestrictPrivateChannelManagement *string + DEPRECATED_DO_NOT_USE_RestrictPublicChannelCreation *string + DEPRECATED_DO_NOT_USE_RestrictPublicChannelDeletion *string + DEPRECATED_DO_NOT_USE_RestrictPublicChannelManagement *string + DEPRECATED_DO_NOT_USE_RestrictTeamInvite *string + EnableConfirmNotificationsToChannel *bool + EnableCustomBrand *bool + EnableOpenServer *bool + EnableUserCreation *bool + EnableUserDeactivation *bool + EnableXToLeaveChannelsFromLHS *bool + ExperimentalDefaultChannels []string + ExperimentalEnableAutomaticReplies *bool + ExperimentalHideTownSquareinLHS *bool + ExperimentalPrimaryTeam *string + ExperimentalTownSquareIsReadOnly *bool + ExperimentalViewArchivedChannels *bool + LockTeammateNameDisplay *bool + MaxChannelsPerTeam *int64 + MaxNotificationsPerChannel *int64 + MaxUsersPerTeam *int + RestrictCreationToDomains *string + RestrictDirectMessage *string + SiteName *string + TeammateNameDisplay *string + UserStatusAwayTimeout *int64 + func (s *TeamSettings) SetDefaults() + type TeamStats struct + ActiveMemberCount int64 + TeamId string + TotalMemberCount int64 + func TeamStatsFromJson(data io.Reader) *TeamStats + func (o *TeamStats) ToJson() string + type TeamUnread struct + MentionCount int64 + MsgCount int64 + TeamId string + func TeamUnreadFromJson(data io.Reader) *TeamUnread + func TeamsUnreadFromJson(data io.Reader) []*TeamUnread + func (o *TeamUnread) ToJson() string + type TeamsWithCount struct + Teams []*Team + TotalCount int64 + func TeamsWithCountFromJson(data io.Reader) *TeamsWithCount + type TermsOfService struct + CreateAt int64 + Id string + Text string + UserId string + func TermsOfServiceFromJson(data io.Reader) *TermsOfService + func (t *TermsOfService) IsValid() *AppError + func (t *TermsOfService) PreSave() + func (t *TermsOfService) ToJson() string + type ThemeSettings struct + AllowCustomThemes *bool + AllowedThemes []string + DefaultTheme *string + EnableThemeSelection *bool + func (s *ThemeSettings) SetDefaults() + type Thread struct + ChannelId string + LastReplyAt int64 + Participants StringArray + PostId string + ReplyCount int64 + func ThreadFromJson(s string) (*Thread, error) + func (o *Thread) Etag() string + func (o *Thread) ToJson() string + type ThreadMembership struct + Following bool + LastUpdated int64 + LastViewed int64 + PostId string + UnreadMentions int64 + UserId string + func (o *ThreadMembership) ToJson() string + type ThreadResponse struct + LastReplyAt int64 + LastViewedAt int64 + Participants []*User + Post *Post + PostId string + ReplyCount int64 + UnreadMentions int64 + UnreadReplies int64 + type Threads struct + Threads []*ThreadResponse + Total int64 + TotalUnreadMentions int64 + TotalUnreadReplies int64 + func (o *Threads) ToJson() string + type Token struct + CreateAt int64 + Extra string + Token string + Type string + func NewToken(tokentype, extra string) *Token + func (t *Token) IsValid() *AppError + type TrialLicenseRequest struct + Email string + Name string + ReceiveEmailsAccepted bool + ServerID string + SiteName string + SiteURL string + TermsAccepted bool + Users int + func (tlr *TrialLicenseRequest) ToJson() string + type TypingRequest struct + ChannelId string + ParentId string + func TypingRequestFromJson(data io.Reader) *TypingRequest + func (o *TypingRequest) ToJson() string + type UploadSession struct + ChannelId string + CreateAt int64 + FileOffset int64 + FileSize int64 + Filename string + Id string + Path string + Type UploadType + UserId string + func UploadSessionFromJson(data io.Reader) *UploadSession + func UploadSessionsFromJson(data io.Reader) []*UploadSession + func (us *UploadSession) IsValid() *AppError + func (us *UploadSession) PreSave() + func (us *UploadSession) ToJson() string + type UploadType string + const UploadTypeAttachment + const UploadTypeImport + func (t UploadType) IsValid() error + type User struct + AllowMarketing bool + AuthData *string + AuthService string + BotDescription string + BotLastIconUpdate int64 + CreateAt int64 + DeleteAt int64 + Email string + EmailVerified bool + FailedAttempts int + FirstName string + Id string + IsBot bool + LastActivityAt int64 + LastName string + LastPasswordUpdate int64 + LastPictureUpdate int64 + Locale string + MfaActive bool + MfaSecret string + Nickname string + NotifyProps StringMap + Password string + Position string + Props StringMap + Roles string + TermsOfServiceCreateAt int64 + TermsOfServiceId string + Timezone StringMap + UpdateAt int64 + Username string + func UserFromBot(b *Bot) *User + func UserFromJson(data io.Reader) *User + func UserListFromJson(data io.Reader) []*User + func (u *User) AddNotifyProp(key string, value string) + func (u *User) ClearNonProfileFields() + func (u *User) DeepCopy() *User + func (u *User) Etag(showFullName, showEmail bool) string + func (u *User) GetDisplayName(nameFormat string) string + func (u *User) GetDisplayNameWithPrefix(nameFormat, prefix string) string + func (u *User) GetFullName() string + func (u *User) GetMentionKeys() []string + func (u *User) GetPreferredTimezone() string + func (u *User) GetRawRoles() string + func (u *User) GetRoles() []string + func (u *User) IsGuest() bool + func (u *User) IsInRole(inRole string) bool + func (u *User) IsLDAPUser() bool + func (u *User) IsOAuthUser() bool + func (u *User) IsSAMLUser() bool + func (u *User) IsSSOUser() bool + func (u *User) IsSystemAdmin() bool + func (u *User) IsValid() *AppError + func (u *User) MakeNonNil() + func (u *User) Patch(patch *UserPatch) + func (u *User) PreSave() + func (u *User) PreUpdate() + func (u *User) Sanitize(options map[string]bool) + func (u *User) SanitizeInput(isAdmin bool) + func (u *User) SanitizeProfile(options map[string]bool) + func (u *User) SetDefaultNotifications() + func (u *User) ToJson() string + func (u *User) UpdateMentionKeysFromUsername(oldUsername string) + func (z *User) DecodeMsg(dc *msgp.Reader) (err error) + func (z *User) EncodeMsg(en *msgp.Writer) (err error) + func (z *User) MarshalMsg(b []byte) (o []byte, err error) + func (z *User) Msgsize() (s int) + func (z *User) UnmarshalMsg(bts []byte) (o []byte, err error) + type UserAccessToken struct + Description string + Id string + IsActive bool + Token string + UserId string + func UserAccessTokenFromJson(data io.Reader) *UserAccessToken + func UserAccessTokenListFromJson(data io.Reader) []*UserAccessToken + func (t *UserAccessToken) IsValid() *AppError + func (t *UserAccessToken) PreSave() + func (t *UserAccessToken) ToJson() string + type UserAccessTokenSearch struct + Term string + func UserAccessTokenSearchFromJson(data io.Reader) *UserAccessTokenSearch + func (c *UserAccessTokenSearch) ToJson() string + type UserAuth struct + AuthData *string + AuthService string + Password string + func UserAuthFromJson(data io.Reader) *UserAuth + func (u *UserAuth) ToJson() string + type UserAutocomplete struct + OutOfChannel []*User + Users []*User + func UserAutocompleteFromJson(data io.Reader) *UserAutocomplete + func (o *UserAutocomplete) ToJson() string + type UserAutocompleteInChannel struct + InChannel []*User + OutOfChannel []*User + func UserAutocompleteInChannelFromJson(data io.Reader) *UserAutocompleteInChannel + func (o *UserAutocompleteInChannel) ToJson() string + type UserAutocompleteInTeam struct + InTeam []*User + func UserAutocompleteInTeamFromJson(data io.Reader) *UserAutocompleteInTeam + func (o *UserAutocompleteInTeam) ToJson() string + type UserChannelIDPair struct + ChannelID string + UserID string + type UserCountOptions struct + ChannelId string + ChannelRoles []string + ExcludeRegularUsers bool + IncludeBotAccounts bool + IncludeDeleted bool + Roles []string + TeamId string + TeamRoles []string + ViewRestrictions *ViewUsersRestrictions + type UserForIndexing struct + ChannelsIds []string + CreateAt int64 + DeleteAt int64 + FirstName string + Id string + LastName string + Nickname string + Roles string + TeamsIds []string + Username string + type UserGetByIdsOptions struct + Since int64 + type UserGetOptions struct + Active bool + ChannelRoles []string + GroupConstrained bool + InChannelId string + InGroupId string + InTeamId string + Inactive bool + NotInChannelId string + NotInTeamId string + Page int + PerPage int + Role string + Roles []string + Sort string + TeamRoles []string + ViewRestrictions *ViewUsersRestrictions + WithoutTeam bool + type UserMap map[string]*User + func (z *UserMap) DecodeMsg(dc *msgp.Reader) (err error) + func (z *UserMap) UnmarshalMsg(bts []byte) (o []byte, err error) + func (z UserMap) EncodeMsg(en *msgp.Writer) (err error) + func (z UserMap) MarshalMsg(b []byte) (o []byte, err error) + func (z UserMap) Msgsize() (s int) + type UserMentionMap map[string]string + func UserMentionMapFromURLValues(values url.Values) (UserMentionMap, error) + func (m UserMentionMap) ToURLValues() url.Values + type UserPatch struct + Email *string + FirstName *string + LastName *string + Locale *string + Nickname *string + NotifyProps StringMap + Password *string + Position *string + Props StringMap + Timezone StringMap + Username *string + func UserPatchFromJson(data io.Reader) *UserPatch + func (u *UserPatch) ToJson() string + type UserSearch struct + AllowInactive bool + ChannelRoles []string + GroupConstrained bool + InChannelId string + InGroupId string + Limit int + NotInChannelId string + NotInTeamId string + Role string + Roles []string + TeamId string + TeamRoles []string + Term string + WithoutTeam bool + func UserSearchFromJson(data io.Reader) *UserSearch + func (u *UserSearch) ToJson() []byte + type UserSearchOptions struct + AllowEmails bool + AllowFullNames bool + AllowInactive bool + ChannelRoles []string + GroupConstrained bool + IsAdmin bool + Limit int + ListOfAllowedChannels []string + Role string + Roles []string + TeamRoles []string + ViewRestrictions *ViewUsersRestrictions + type UserSlice []*User + func (u UserSlice) FilterByActive(active bool) UserSlice + func (u UserSlice) FilterByID(ids []string) UserSlice + func (u UserSlice) FilterWithoutBots() UserSlice + func (u UserSlice) FilterWithoutID(ids []string) UserSlice + func (u UserSlice) IDs() []string + func (u UserSlice) Usernames() []string + type UserTeamIDPair struct + TeamID string + UserID string + type UserTermsOfService struct + CreateAt int64 + TermsOfServiceId string + UserId string + func UserTermsOfServiceFromJson(data io.Reader) *UserTermsOfService + func (ut *UserTermsOfService) IsValid() *AppError + func (ut *UserTermsOfService) PreSave() + func (ut *UserTermsOfService) ToJson() string + type UserUpdate struct + New *User + Old *User + type UserWithGroups struct + GroupIDs *string + Groups []*Group + SchemeAdmin bool + SchemeGuest bool + SchemeUser bool + func (u *UserWithGroups) GetGroupIDs() []string + type UsersStats struct + TotalUsersCount int64 + func UsersStatsFromJson(data io.Reader) *UsersStats + func (o *UsersStats) ToJson() string + type UsersWithGroupsAndCount struct + Count int64 + Users []*UserWithGroups + func UsersWithGroupsAndCountFromJson(data io.Reader) *UsersWithGroupsAndCount + type ViewUsersRestrictions struct + Channels []string + Teams []string + func (r *ViewUsersRestrictions) Hash() string + type WarnMetric struct + Id string + IsBotOnly bool + IsRunOnce bool + Limit int64 + type WarnMetricDisplayTexts struct + BotMessageBody string + BotSuccessMessage string + BotTitle string + EmailBody string + type WarnMetricStatus struct + Acked bool + Id string + Limit int64 + StoreStatus string + func WarnMetricStatusFromJson(data io.Reader) *WarnMetricStatus + func (wms *WarnMetricStatus) ToJson() string + type WebSocketClient struct + ApiUrl string + AuthToken string + Conn *websocket.Conn + ConnectUrl string + EventChannel chan *WebSocketEvent + ListenError *AppError + PingTimeoutChannel chan bool + ResponseChannel chan *WebSocketResponse + Sequence int64 + Url string + func (wsc *WebSocketClient) Close() + func (wsc *WebSocketClient) Connect() *AppError + func (wsc *WebSocketClient) ConnectWithDialer(dialer *websocket.Dialer) *AppError + func (wsc *WebSocketClient) GetStatuses() + func (wsc *WebSocketClient) GetStatusesByIds(userIds []string) + func (wsc *WebSocketClient) Listen() + func (wsc *WebSocketClient) SendMessage(action string, data map[string]interface{}) + func (wsc *WebSocketClient) UserTyping(channelId, parentId string) + type WebSocketEvent struct + Broadcast *WebsocketBroadcast + Data map[string]interface{} + Event string + Sequence int64 + func NewWebSocketEvent(event, teamId, channelId, userId string, omitUsers map[string]bool) *WebSocketEvent + func WebSocketEventFromJson(data io.Reader) *WebSocketEvent + func (ev *WebSocketEvent) Add(key string, value interface{}) + func (ev *WebSocketEvent) Copy() *WebSocketEvent + func (ev *WebSocketEvent) Encode(enc *json.Encoder) error + func (ev *WebSocketEvent) EventType() string + func (ev *WebSocketEvent) GetBroadcast() *WebsocketBroadcast + func (ev *WebSocketEvent) GetData() map[string]interface{} + func (ev *WebSocketEvent) GetSequence() int64 + func (ev *WebSocketEvent) IsValid() bool + func (ev *WebSocketEvent) PrecomputeJSON() *WebSocketEvent + func (ev *WebSocketEvent) SetBroadcast(broadcast *WebsocketBroadcast) *WebSocketEvent + func (ev *WebSocketEvent) SetData(data map[string]interface{}) *WebSocketEvent + func (ev *WebSocketEvent) SetEvent(event string) *WebSocketEvent + func (ev *WebSocketEvent) SetSequence(seq int64) *WebSocketEvent + func (ev *WebSocketEvent) ToJson() string + type WebSocketMessage interface + EventType func() string + IsValid func() bool + ToJson func() string + type WebSocketRequest struct + Action string + Data map[string]interface{} + Locale string + Seq int64 + Session Session + T goi18n.TranslateFunc + func WebSocketRequestFromJson(data io.Reader) *WebSocketRequest + func (o *WebSocketRequest) ToJson() string + type WebSocketResponse struct + Data map[string]interface{} + Error *AppError + SeqReply int64 + Status string + func NewWebSocketError(seqReply int64, err *AppError) *WebSocketResponse + func NewWebSocketResponse(status string, seqReply int64, data map[string]interface{}) *WebSocketResponse + func WebSocketResponseFromJson(data io.Reader) *WebSocketResponse + func (m *WebSocketResponse) Add(key string, value interface{}) + func (m *WebSocketResponse) EventType() string + func (m *WebSocketResponse) IsValid() bool + func (m *WebSocketResponse) ToJson() string + type WebsocketBroadcast struct + ChannelId string + ContainsSanitizedData bool + ContainsSensitiveData bool + OmitUsers map[string]bool + TeamId string + UserId string + type Worker interface + JobChannel func() chan<- Job + Run func() + Stop func() + type X509Certificate struct + Cert string + XMLName xml.Name + type X509Data struct + X509Certificate X509Certificate + XMLName xml.Name Other modules containing this package github.com/adacta-ru/mattermost-server github.com/adacta-ru/mattermost-server/v6