docsFunctionsThreadsZeditThread

ZeditThread

Edits one or more properties of an existing thread such as name, archived state, archive duration, lock status, and slowmode.

Syntax

ZeditThread{threadID;name?;archived?;archiveDuration?;locked?;slowmode?}

Arguments

NameTypeRequiredDefault
threadIDsnowflakeYes-
namestringNo-
archivedbooleanNo-
archiveDurationintegerNo-
lockedbooleanNo-
slowmodeintegerNo-

Example

ZeditThread{123456789012345678;Updated Name;;;false;10}