Skip to content

ChannelFlags

ChannelFlags ⇐ Bitfield

Kind: global class
Extends: Bitfield

new ChannelFlags(…bit)

Constructs a new instance of the class.

ParamTypeDescription
…bitbigintThe bits to set in the bitfield.

ChannelFlags.Default

Sets the default value for the ChannelFlags property to 0n.

Kind: static property of ChannelFlags

ParamTypeDescription
DefaultbigintThe default bit value to set.

ChannelFlags.All ⇒

Calculates the value of ChannelFlags.All by performing a bitwise OR operation on all the values in the ChannelFlags.Flags object.

Kind: static property of ChannelFlags
Returns: The calculated value of ChannelFlags.All.

ParamTypeDescription
AllbigintAll bit value.

ChannelFlags.Flags : enum

Channel flags and their corresponding bit numbers.

Kind: static enum of ChannelFlags
Read only: true
Properties

NameTypeDefault
Pinnedbigint
Require_Tagbigint
Hide_Media_Download_Optionsbigint