Package org.drinkless.tdlib
Class TdApi.SetChatTitle
- Enclosing class:
- TdApi
Changes the chat title. Supported only for basic groups, supergroups and channels. Requires canChangeInfo member right.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intIdentifier uniquely determining type of the object.New title of the chat; 1-128 characters. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes the chat title.SetChatTitle(long chatId, String title) Creates a function, which changes the chat title. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
title
New title of the chat; 1-128 characters. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetChatTitle
public SetChatTitle()Default constructor for a function, which changes the chat title. Supported only for basic groups, supergroups and channels. Requires canChangeInfo member right.Returns
Ok -
SetChatTitle
Creates a function, which changes the chat title. Supported only for basic groups, supergroups and channels. Requires canChangeInfo member right.Returns
Ok- Parameters:
chatId- Chat identifier.title- New title of the chat; 1-128 characters.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-