Interface CheckCreatedPublicChatsLimit

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. Request type for Tdjson#checkCreatedPublicChatsLimit.

interface CheckCreatedPublicChatsLimit {
    @type: "checkCreatedPublicChatsLimit";
    type: PublicChatType;
}

Properties

Properties

@type: "checkCreatedPublicChatsLimit"

Type of the public chats, for which to check the limit.