Module tdlight.api

Class TdApi.SetDefaultGroupAdministratorRights

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

public static final class TdApi.SetDefaultGroupAdministratorRights extends TdApi.Function<TdApi.Ok>
Sets default administrator rights for adding the bot to basic group and supergroup chats; for bots only. Returns Ok
  • Field Details

    • defaultGroupAdministratorRights

      public TdApi.ChatAdministratorRights defaultGroupAdministratorRights
      Default administrator rights for adding the bot to basic group and supergroup chats; may be null.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • SetDefaultGroupAdministratorRights

      public SetDefaultGroupAdministratorRights()
      Sets default administrator rights for adding the bot to basic group and supergroup chats; for bots only. Returns Ok
    • SetDefaultGroupAdministratorRights

      public SetDefaultGroupAdministratorRights(TdApi.ChatAdministratorRights defaultGroupAdministratorRights)
      Sets default administrator rights for adding the bot to basic group and supergroup chats; for bots only. Returns Ok
      Parameters:
      defaultGroupAdministratorRights - ChatAdministratorRights Default administrator rights for adding the bot to basic group and supergroup chats; may be null.
    • SetDefaultGroupAdministratorRights

      public SetDefaultGroupAdministratorRights(DataInput input) throws IOException
      Sets default administrator rights for adding the bot to basic group and supergroup chats; for bots only. Returns Ok
      Throws:
      IOException
  • Method Details