Package org.drinkless.tdlib
Class TdApi.SetPersonalChat
- Enclosing class:
- TdApi
Changes the personal chat of the current user.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the new personal chat; pass 0 to remove the chat.static final intIdentifier uniquely determining type of the object. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes the personal chat of the current user.SetPersonalChat(long chatId) Creates a function, which changes the personal chat of the current user. -
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 chatIdIdentifier of the new personal chat; pass 0 to remove the chat. Use getSuitablePersonalChats to get suitable chats. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetPersonalChat
public SetPersonalChat()Default constructor for a function, which changes the personal chat of the current user.Returns
Ok -
SetPersonalChat
public SetPersonalChat(long chatId) Creates a function, which changes the personal chat of the current user.Returns
Ok- Parameters:
chatId- Identifier of the new personal chat; pass 0 to remove the chat. Use getSuitablePersonalChats to get suitable chats.
-
-
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
-