Package it.tdlight.jni
Class TdApi.SetChatDescription
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.SetChatDescription
- Enclosing class:
- TdApi
public static class TdApi.SetChatDescription extends TdApi.Function
Changes information about a chat.
Available for basic groups, supergroups,
and channels. Requires canChangeInfo rights.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description long
chatId
Identifier of the chat.static int
CONSTRUCTOR
String
description
New chat description; 0-255 characters. -
Constructor Summary
Constructors Constructor Description SetChatDescription()
Changes information about a chat.SetChatDescription(long chatId, String description)
Changes information about a chat.SetChatDescription(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
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. -
description
New chat description; 0-255 characters. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
SetChatDescription
public SetChatDescription()Changes information about a chat. Available for basic groups, supergroups, and channels. Requires canChangeInfo rights.Returns
Ok
-
SetChatDescription
Changes information about a chat. Available for basic groups, supergroups, and channels. Requires canChangeInfo rights.Returns
Ok
- Parameters:
chatId
- long Identifier of the chat.description
- String New chat description; 0-255 characters.
-
SetChatDescription
- 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()
-