GroupChannelCollection constructor

GroupChannelCollection(
  1. {required GroupChannelListQuery query,
  2. required GroupChannelCollectionHandler handler}
)

Constructor

Implementation

GroupChannelCollection({
  required GroupChannelListQuery query,
  required GroupChannelCollectionHandler handler,
})  : _query = query,
      _handler = handler,
      _chat = query.chat {
  sbLog.i(StackTrace.current, 'GroupChannelCollection()');
  _chat.collectionManager.addGroupChannelCollection(this);
}