Class TdApi.SetChatMemberTag

Enclosing class:
TdApi

public static class TdApi.SetChatMemberTag extends TdApi.Function<TdApi.Ok>
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

    Fields
    Modifier and Type
    Field
    Description
    long
    Chat identifier.
    static final int
    Identifier uniquely determining type of the object.
    The new tag of the member in the chat; 0-16 characters without emoji.
    long
    Identifier of the user, which tag is changed.
  • Constructor Summary

    Constructors
    Constructor
    Description
    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.
    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 Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • userId

      public long userId
      Identifier of the user, which tag is changed. Chats can't have member tags.
    • tag

      public String tag
      The new tag of the member in the chat; 0-16 characters without emoji.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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

      public 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.

      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.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Function<TdApi.Ok>
      Returns:
      this.CONSTRUCTOR