Skip to content

checkCreatedPublicChatsLimit

Function · TDLib 1.8.67 · d1085f9c

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

checkCreatedPublicChatsLimit(
  type: PublicChatType
) → Ok

type

PublicChatType

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