Skip to main content

channel_id

Function channel_id 

Source
pub const fn channel_id(
    channel_id: &[Id<ChannelMarker>],
) -> Result<(), SearchGuildMessagesError>
Expand description

Ensure that the amount of channel IDs is correct.

ยงErrors

Returns an error of type ChannelIdCount if the number of channel IDs is invalid.