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. The limit can be increased with Telegram Premium

Implementation

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