_, err = session.Client.API().ChannelsEditAdmin(ctx, &tg.ChannelsEditAdminRequest{
Channel: inputChannel,
UserID: session.Client.Self.AsInput(),
AdminRights: adminRights,
})
This code worked perfectly before, but after updating to v0.141, an error constantly occurs:
400: USER_CREATOR
Had to roll back to v0.140
This code worked perfectly before, but after updating to v0.141, an error constantly occurs:
400: USER_CREATOR
Had to roll back to v0.140