- Enclosing class:
- TdApi
Changes reactions, available in a
chat. Available for basic groups,
supergroups, and channels. Requires
canChangeInfo administrator right.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionString[]
New list of reactions, available in the chat.long
Identifier of the chat.static final int
-
Constructor Summary
ConstructorDescriptionChanges reactions, available in a chat.SetChatAvailableReactions
(long chatId, String[] availableReactions) Changes reactions, available in a chat.Changes reactions, available in a chat. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdIdentifier of the chat. -
availableReactions
New list of reactions, available in the chat. All reactions must be active. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetChatAvailableReactions
public SetChatAvailableReactions()Changes reactions, available in a chat. Available for basic groups, supergroups, and channels. Requires canChangeInfo administrator right. ReturnsOk
-
SetChatAvailableReactions
Changes reactions, available in a chat. Available for basic groups, supergroups, and channels. Requires canChangeInfo administrator right. ReturnsOk
- Parameters:
chatId
- long Identifier of the chat.availableReactions
- String[] New list of reactions, available in the chat. All reactions must be active.
-
SetChatAvailableReactions
Changes reactions, available in a chat. Available for basic groups, supergroups, and channels. Requires canChangeInfo administrator right. 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()
-