disruption_types 0.2.0

Types for communicating with the Discord API and gateway
Documentation
1
2
3
4
5
6
7
8
9
10
/// <https://discord.com/developers/docs/resources/channel#channel-object-channel-flags>
#[allow(non_camel_case_types)]
pub enum ChannelFlags {
    /// this thread is pinned to the top of its parent GUILD_FORUM or GUILD_MEDIA channel
    PINNED = 1 << 1,
    /// whether a tag is required to be specified when creating a thread in a GUILD_FORUM or a GUILD_MEDIA channel
    REQUIRE_TAG = 1 << 4,
    /// when set hides the embedded media download options. Available only for media channels
    HIDE_MEDIA_DOWNLOAD_OPTIONS = 1 << 15,
}