pub type MessageIter = IterBuffer<GetHistory, Message>;
struct MessageIter { /* private fields */ }
Determines how many messages there are in total.
This only performs a network call if next has not been called before.
next
Return the next Message from the internal buffer, filling the buffer previously if it’s empty.
Message
Returns None if the limit is reached or there are no messages left.
None
limit