CheckCreatedPublicChatsLimit constructor

const CheckCreatedPublicChatsLimit({
  1. required PublicChatType type,
})

Checks whether the maximum number of owned public chats has been reached. Returns corresponding error if the limit was reached

Implementation

const CheckCreatedPublicChatsLimit({
  required this.type,
});