downloadMessages abstract method
Gets several Message
objects from API. Only one of after
, before
, around
can be specified,
otherwise, it will throw.
var messages = await channel.downloadMessages(limit: 100, after: Snowflake("222078108977594368"));
Implementation
Stream<Message> downloadMessages({int limit = 50, Snowflake? after, Snowflake? around, Snowflake? before});