- Enclosing class:
- TdApi
Sets default administrator rights for
adding the bot to basic group and
supergroup chats; for bots only.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Default administrator rights for adding the bot to basic group and supergroup chats; may be null. -
Constructor Summary
ConstructorDescriptionSets default administrator rights for adding the bot to basic group and supergroup chats; for bots only.SetDefaultGroupAdministratorRights
(TdApi.ChatAdministratorRights defaultGroupAdministratorRights) Sets default administrator rights for adding the bot to basic group and supergroup chats; for bots only.Sets default administrator rights for adding the bot to basic group and supergroup chats; for bots only. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
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. ReturnsOk
-
SetDefaultGroupAdministratorRights
public SetDefaultGroupAdministratorRights(TdApi.ChatAdministratorRights defaultGroupAdministratorRights) Sets default administrator rights for adding the bot to basic group and supergroup chats; for bots only. ReturnsOk
- Parameters:
defaultGroupAdministratorRights
- ChatAdministratorRights Default administrator rights for adding the bot to basic group and supergroup chats; may be null.
-
SetDefaultGroupAdministratorRights
Sets default administrator rights for adding the bot to basic group and supergroup chats; for bots only. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-