ChannelFlags
ChannelFlags ⇐ Bitfield
Kind: global class
Extends: Bitfield
- ChannelFlags ⇐
Bitfield
- new ChannelFlags(…bit)
- .Default
- .All ⇒
- .Flags :
enum
new ChannelFlags(…bit)
Constructs a new instance of the class.
Param | Type | Description |
---|---|---|
…bit | bigint | The bits to set in the bitfield. |
ChannelFlags.Default
Sets the default value for the ChannelFlags property to 0n.
Kind: static property of ChannelFlags
Param | Type | Description |
---|---|---|
Default | bigint | The 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.
Param | Type | Description |
---|---|---|
All | bigint | All bit value. |
ChannelFlags.Flags : enum
Channel flags and their corresponding bit numbers.
Kind: static enum of ChannelFlags
Read only: true
Properties
Name | Type | Default |
---|---|---|
Pinned | bigint |
|
Require_Tag | bigint |
|
Hide_Media_Download_Options | bigint |
|