- Enclosing class:
- TdApi
Changes the slow mode delay of a chat.
Available only for supergroups; requires canRestrictMembers rights.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intintNew slow mode delay for the chat, in seconds; must be one of 0, 10, 30, 60, 300, 900, 3600. -
Constructor Summary
ConstructorsConstructorDescriptionChanges the slow mode delay of a chat.SetChatSlowModeDelay(long chatId, int slowModeDelay) Changes the slow mode delay of a chat.SetChatSlowModeDelay(DataInput input) Changes the slow mode delay of a chat. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
slowModeDelay
public int slowModeDelayNew slow mode delay for the chat, in seconds; must be one of 0, 10, 30, 60, 300, 900, 3600. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetChatSlowModeDelay
public SetChatSlowModeDelay()Changes the slow mode delay of a chat. Available only for supergroups; requires canRestrictMembers rights. ReturnsOk -
SetChatSlowModeDelay
public SetChatSlowModeDelay(long chatId, int slowModeDelay) Changes the slow mode delay of a chat. Available only for supergroups; requires canRestrictMembers rights. ReturnsOk- Parameters:
chatId- long Chat identifier.slowModeDelay- int New slow mode delay for the chat, in seconds; must be one of 0, 10, 30, 60, 300, 900, 3600.
-
SetChatSlowModeDelay
Changes the slow mode delay of a chat. Available only for supergroups; requires canRestrictMembers rights. ReturnsOk- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-