Package org.drinkless.tdlib
Class TdApi.SetChatMemberTag
- Enclosing class:
TdApi
Changes the tag or custom title of a chat member; requires canManageTags administrator right to change tag of other users; for basic groups and supergroups only.
Returns Ok
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function
TdApi.Function.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intIdentifier uniquely determining type of the object.The new tag of the member in the chat; 0-16 characters without emoji.longIdentifier of the user, which tag is changed. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes the tag or custom title of a chat member; requires canManageTags administrator right to change tag of other users; for basic groups and supergroups only.SetChatMemberTag(long chatId, long userId, String tag) Creates a function, which changes the tag or custom title of a chat member; requires canManageTags administrator right to change tag of other users; for basic groups and supergroups only. -
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. -
userId
public long userIdIdentifier of the user, which tag is changed. Chats can't have member tags. -
tag
The new tag of the member in the chat; 0-16 characters without emoji. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetChatMemberTag
public SetChatMemberTag()Default constructor for a function, which changes the tag or custom title of a chat member; requires canManageTags administrator right to change tag of other users; for basic groups and supergroups only.Returns
Ok -
SetChatMemberTag
Creates a function, which changes the tag or custom title of a chat member; requires canManageTags administrator right to change tag of other users; for basic groups and supergroups only.Returns
Ok- Parameters:
chatId- Chat identifier.userId- Identifier of the user, which tag is changed. Chats can't have member tags.tag- The new tag of the member in the chat; 0-16 characters without emoji.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Function<TdApi.Ok>- Returns:
- this.CONSTRUCTOR
-