Module tdlight.api

Class TdApi.ReorderSupergroupActiveUsernames

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Ok>
it.tdlight.jni.TdApi.ReorderSupergroupActiveUsernames
Enclosing class:
TdApi

public static final class TdApi.ReorderSupergroupActiveUsernames extends TdApi.Function<TdApi.Ok>
Changes order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel. Returns Ok
  • Field Details

    • supergroupId

      public long supergroupId
      Identifier of the supergroup or channel.
    • usernames

      public String[] usernames
      The new order of active usernames. All currently active usernames must be specified.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ReorderSupergroupActiveUsernames

      public ReorderSupergroupActiveUsernames()
      Changes order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel. Returns Ok
    • ReorderSupergroupActiveUsernames

      public ReorderSupergroupActiveUsernames(long supergroupId, String[] usernames)
      Changes order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel. Returns Ok
      Parameters:
      supergroupId - long Identifier of the supergroup or channel.
      usernames - String[] The new order of active usernames. All currently active usernames must be specified.
    • ReorderSupergroupActiveUsernames

      public ReorderSupergroupActiveUsernames(DataInput input) throws IOException
      Changes order of active usernames of a supergroup or channel, requires owner privileges in the supergroup or channel. Returns Ok
      Throws:
      IOException
  • Method Details