- Enclosing class:
- TdApi
Changes information about a chat.
Available for basic groups, supergroups,
and channels. Requires canChangeInfo administrator right.
Returns
Ok
-
Field Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat.static final int
New chat description; 0-255 characters. -
Constructor Summary
ConstructorDescriptionChanges information about a chat.SetChatDescription
(long chatId, String description) Changes information about a chat.SetChatDescription
(DataInput input) Changes information about 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. -
description
New chat description; 0-255 characters. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SetChatDescription
public SetChatDescription()Changes information about a chat. Available for basic groups, supergroups, and channels. Requires canChangeInfo administrator right. ReturnsOk
-
SetChatDescription
Changes information about a chat. Available for basic groups, supergroups, and channels. Requires canChangeInfo administrator right. ReturnsOk
- Parameters:
chatId
- long Identifier of the chat.description
- String New chat description; 0-255 characters.
-
SetChatDescription
Changes information about 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()
-