- Enclosing class:
- TdApi
public static final class TdApi.SetDefaultChannelAdministratorRights
extends TdApi.Function<TdApi.Ok>
Sets default administrator rights for
adding the bot to channel chats; for bots only.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Default administrator rights for adding the bot to channels; may be null. -
Constructor Summary
ConstructorDescriptionSets default administrator rights for adding the bot to channel chats; for bots only.SetDefaultChannelAdministratorRights
(TdApi.ChatAdministratorRights defaultChannelAdministratorRights) Sets default administrator rights for adding the bot to channel chats; for bots only.Sets default administrator rights for adding the bot to channel 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
-
defaultChannelAdministratorRights
Default administrator rights for adding the bot to channels; may be null. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetDefaultChannelAdministratorRights
public SetDefaultChannelAdministratorRights()Sets default administrator rights for adding the bot to channel chats; for bots only. ReturnsOk
-
SetDefaultChannelAdministratorRights
public SetDefaultChannelAdministratorRights(TdApi.ChatAdministratorRights defaultChannelAdministratorRights) Sets default administrator rights for adding the bot to channel chats; for bots only. ReturnsOk
- Parameters:
defaultChannelAdministratorRights
- ChatAdministratorRights Default administrator rights for adding the bot to channels; may be null.
-
SetDefaultChannelAdministratorRights
Sets default administrator rights for adding the bot to channel 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()
-