Alchemy.Cache.private_channel
You're seeing just the function
private_channel
, go back to Alchemy.Cache module for more information.
Link to this function
private_channel(channel_id)
Specs
private_channel(snowflake()) :: {:ok, Alchemy.Channel.dm_channel()} | {:error, String.t()}
Fetches a private_channel in the cache by id of the channel.
Takes a DMChannel id. Alternatively, user: user_id
can be passed to find
the private channel related to a user.