Layer 224
method Users
channels.reorderUsernames#b45ced1d channel:InputChannel order:Vector<string> = Bool;

Parameters

Name Type Description
Channel InputChannel The supergroup or channel
Order Vector<string> The new order for active usernames. All active usernames must be specified.

Returns

Bool

Gogram Example

// ChannelsReorderUsernames - positional arguments
result, err := client.ChannelsReorderUsernames(&tg.InputChannel{ChannelID: int64(1234567890), AccessHash: int64(5678901234567890)}, "Hello, World!")
if err != nil {
    // handle error
}
// result is *tg.Bool

Possible Errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.
400 CHAT_NOT_MODIFIED No changes were made to chat information because the new information you passed is identical to the current information.