Class TdApi.CheckCreatedPublicChatsLimit

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Ok>
it.tdlight.jni.TdApi.CheckCreatedPublicChatsLimit
Enclosing class:
TdApi

public static class TdApi.CheckCreatedPublicChatsLimit extends TdApi.Function<TdApi.Ok>
Checks whether the maximum number of owned public chats has been reached. Returns corresponding error if the limit was reached.

Returns Ok

  • Field Details

  • Constructor Details

    • CheckCreatedPublicChatsLimit

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

      Returns Ok

    • CheckCreatedPublicChatsLimit

      public CheckCreatedPublicChatsLimit(TdApi.PublicChatType type)
      Checks whether the maximum number of owned public chats has been reached. Returns corresponding error if the limit was reached.

      Returns Ok

      Parameters:
      type - PublicChatType Type of the public chats, for which to check the limit.
    • CheckCreatedPublicChatsLimit

      public CheckCreatedPublicChatsLimit(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details