Getting messages from a channel

Is there an example anywhere in the guide or docs for fetching messages from a channel? The only examples I can see start with channel.message.fetch() or something along those lines, but Ican't find anything that explains how channel is declared in this context. I assume it is along the lines of

const channel = new SomeConstructor(some properties)

I'd appreciate any pointers
Was this page helpful?