downloadMessages abstract method

Stream<IMessage> downloadMessages(
  1. {int limit = 50,
  2. Snowflake? after,
  3. Snowflake? around,
  4. Snowflake? before}
)

Gets several IMessage objects from API.

var messages = await channel.downloadMessages(limit: 100, after: Snowflake("222078108977594368"));

Implementation

Stream<IMessage> downloadMessages({int limit = 50, Snowflake? after, Snowflake? around, Snowflake? before});